summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ibmebus.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 19:27:45 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:39 +0100
commitb56eade55d44c54a7b6fa1c9d01448152a233cf4 (patch)
treea40b709370ff16d6f6d35231c5585cf2d508d0b9 /arch/powerpc/kernel/ibmebus.c
parentpowerpc: Fix up modules that should be including module.h (diff)
downloadlinux-b56eade55d44c54a7b6fa1c9d01448152a233cf4.tar.xz
linux-b56eade55d44c54a7b6fa1c9d01448152a233cf4.zip
powerpc: Fix up implicit stat.h users
They get it via module.h (via device.h) but we want to clean that up. When we do, we'll get things like: ibmebus.c:314: error: 'S_IWUSR' undeclared here (not in a function) vio.c:972: error: 'S_IWUSR' undeclared here (not in a function) so add in the stat header it is using explicitly in advance. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/kernel/ibmebus.c')
-rw-r--r--arch/powerpc/kernel/ibmebus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c
index 2848856dc171..f636d417b28f 100644
--- a/arch/powerpc/kernel/ibmebus.c
+++ b/arch/powerpc/kernel/ibmebus.c
@@ -44,6 +44,7 @@
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/slab.h>
+#include <linux/stat.h>
#include <linux/of_platform.h>
#include <asm/ibmebus.h>
#include <asm/abs_addr.h>