summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-08-01 13:52:27 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:02 -0400
commitce7cf0731c328eec3694c97f4677e82a0d5d5064 (patch)
tree501c78f87336f8ad87be6191caebf395cd439af8 /arch
parent6a550b99a05a98e9a63696956728e614ab2d8955 (diff)
alpha: fix implicit stat.h usage in pci-sysfs.c
To avoid this: arch/alpha/kernel/pci-sysfs.c:164: error: 'S_IRUSR' undeclared (first use in this function) arch/alpha/kernel/pci-sysfs.c:164: error: 'S_IWUSR' undeclared (first use in this function) make[2]: *** [arch/alpha/kernel/pci-sysfs.o] Error 1 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/pci-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/kernel/pci-sysfs.c b/arch/alpha/kernel/pci-sysfs.c
index b899e95f79fd..53649c7d0068 100644
--- a/arch/alpha/kernel/pci-sysfs.c
+++ b/arch/alpha/kernel/pci-sysfs.c
@@ -10,6 +10,7 @@
*/
#include <linux/sched.h>
+#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/pci.h>