powerpc: Fix up implicit stat.h users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 17:27:45 +0000 (13:27 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:39 +0000 (19:30 -0400)
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>
arch/powerpc/kernel/ibmebus.c
arch/powerpc/kernel/vio.c
arch/powerpc/platforms/pseries/eeh_sysfs.c
arch/powerpc/platforms/pseries/mobility.c
arch/powerpc/platforms/pseries/suspend.c
arch/powerpc/sysdev/mv64x60_pci.c

index 2848856dc1719cd122d27aaae7fd8dc4fa337617..f636d417b28fafd5a1ff024b028a9805cff154b4 100644 (file)
@@ -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>
index 1b695fdc362b8b10f0551072e74b949dd04d4761..ee09398ed05b03ecaad13a28fea759be8d6d35ff 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 #include <linux/types.h>
+#include <linux/stat.h>
 #include <linux/device.h>
 #include <linux/init.h>
 #include <linux/slab.h>
index 23982c7892d2a2abb470a74558a764f68045bca9..eb744ee234daebae5fe2a2d54fcf7fbacd41e4a4 100644 (file)
@@ -23,6 +23,7 @@
  * Send comments and feedback to Linas Vepstas <linas@austin.ibm.com>
  */
 #include <linux/pci.h>
+#include <linux/stat.h>
 #include <asm/ppc-pci.h>
 #include <asm/pci-bridge.h>
 
index 3e7f651e50ac9bbec2f76f7d31923bdba725b52f..029a562af3738070d5d612dbad13c3819f970642 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/kobject.h>
 #include <linux/smp.h>
+#include <linux/stat.h>
 #include <linux/completion.h>
 #include <linux/device.h>
 #include <linux/delay.h>
index a8ca289ff2673676ec55c671adc21bdc367a4440..d3de0849f29645520e9537569156d6b022f732a4 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/delay.h>
 #include <linux/suspend.h>
+#include <linux/stat.h>
 #include <asm/firmware.h>
 #include <asm/hvcall.h>
 #include <asm/machdep.h>
index 77bb3f4d530a305f1301eb6fc571ecddfb37c5f8..b0037cefaadad20a42454bfe2b476289423da85f 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/stddef.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/stat.h>
 #include <linux/pci.h>
 
 #include <asm/prom.h>
This page took 0.03221 seconds and 5 git commands to generate.