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>
This commit is contained in:
Paul Gortmaker 2011-05-27 13:27:45 -04:00
parent 7dfe293cf6
commit b56eade55d
6 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/stat.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <asm/ibmebus.h> #include <asm/ibmebus.h>
#include <asm/abs_addr.h> #include <asm/abs_addr.h>

View File

@ -15,6 +15,7 @@
*/ */
#include <linux/types.h> #include <linux/types.h>
#include <linux/stat.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>

View File

@ -23,6 +23,7 @@
* Send comments and feedback to Linas Vepstas <linas@austin.ibm.com> * Send comments and feedback to Linas Vepstas <linas@austin.ibm.com>
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/stat.h>
#include <asm/ppc-pci.h> #include <asm/ppc-pci.h>
#include <asm/pci-bridge.h> #include <asm/pci-bridge.h>

View File

@ -12,6 +12,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/kobject.h> #include <linux/kobject.h>
#include <linux/smp.h> #include <linux/smp.h>
#include <linux/stat.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/delay.h> #include <linux/delay.h>

View File

@ -18,6 +18,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/stat.h>
#include <asm/firmware.h> #include <asm/firmware.h>
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/machdep.h> #include <asm/machdep.h>

View File

@ -12,6 +12,7 @@
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/stat.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <asm/prom.h> #include <asm/prom.h>