Commit 46c5c59e6902855b61a31be1b8e26bfffcae1e07

Authored by Scott Wood
Committed by Benjamin Herrenschmidt
1 parent 6d9c00c67b

powerpc/mpic_msgr: Add missing includes

Add several #includes that mpic_msgr relies on being pulled implicitly,
which only happens on certain configs.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Meador Inge <meador_inge@mentor.com>
Cc: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

Showing 2 changed files with 4 additions and 0 deletions Side-by-side Diff

arch/powerpc/include/asm/mpic_msgr.h
... ... @@ -14,6 +14,7 @@
14 14 #include <linux/types.h>
15 15 #include <linux/spinlock.h>
16 16 #include <asm/smp.h>
  17 +#include <asm/io.h>
17 18  
18 19 struct mpic_msgr {
19 20 u32 __iomem *base;
arch/powerpc/sysdev/mpic_msgr.c
... ... @@ -14,6 +14,9 @@
14 14 #include <linux/list.h>
15 15 #include <linux/of_platform.h>
16 16 #include <linux/errno.h>
  17 +#include <linux/err.h>
  18 +#include <linux/export.h>
  19 +#include <linux/slab.h>
17 20 #include <asm/prom.h>
18 21 #include <asm/hw_irq.h>
19 22 #include <asm/ppc-pci.h>