Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+6
+1
arch/powerpc/kernel/ibmebus.c
··· 44 44 #include <linux/interrupt.h> 45 45 #include <linux/of.h> 46 46 #include <linux/slab.h> 47 + #include <linux/stat.h> 47 48 #include <linux/of_platform.h> 48 49 #include <asm/ibmebus.h> 49 50 #include <asm/abs_addr.h>
+1
arch/powerpc/kernel/vio.c
··· 15 15 */ 16 16 17 17 #include <linux/types.h> 18 + #include <linux/stat.h> 18 19 #include <linux/device.h> 19 20 #include <linux/init.h> 20 21 #include <linux/slab.h>
+1
arch/powerpc/platforms/pseries/eeh_sysfs.c
··· 23 23 * Send comments and feedback to Linas Vepstas <linas@austin.ibm.com> 24 24 */ 25 25 #include <linux/pci.h> 26 + #include <linux/stat.h> 26 27 #include <asm/ppc-pci.h> 27 28 #include <asm/pci-bridge.h> 28 29
+1
arch/powerpc/platforms/pseries/mobility.c
··· 12 12 #include <linux/kernel.h> 13 13 #include <linux/kobject.h> 14 14 #include <linux/smp.h> 15 + #include <linux/stat.h> 15 16 #include <linux/completion.h> 16 17 #include <linux/device.h> 17 18 #include <linux/delay.h>
+1
arch/powerpc/platforms/pseries/suspend.c
··· 18 18 19 19 #include <linux/delay.h> 20 20 #include <linux/suspend.h> 21 + #include <linux/stat.h> 21 22 #include <asm/firmware.h> 22 23 #include <asm/hvcall.h> 23 24 #include <asm/machdep.h>
+1
arch/powerpc/sysdev/mv64x60_pci.c
··· 12 12 #include <linux/stddef.h> 13 13 #include <linux/kernel.h> 14 14 #include <linux/init.h> 15 + #include <linux/stat.h> 15 16 #include <linux/pci.h> 16 17 17 18 #include <asm/prom.h>