diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-08-01 19:52:27 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:31:02 +0100 |
commit | ce7cf0731c328eec3694c97f4677e82a0d5d5064 (patch) | |
tree | 501c78f87336f8ad87be6191caebf395cd439af8 /arch/alpha/kernel | |
parent | blackfin: add module.h to files implicitly expecting to use it. (diff) | |
download | linux-ce7cf0731c328eec3694c97f4677e82a0d5d5064.tar.xz linux-ce7cf0731c328eec3694c97f4677e82a0d5d5064.zip |
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/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/pci-sysfs.c | 1 |
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> |