Skip to content

Commit

Permalink
alpha: fix implicit stat.h usage in pci-sysfs.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 6a550b9 commit ce7cf07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/alpha/kernel/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

#include <linux/sched.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/pci.h>

Expand Down

0 comments on commit ce7cf07

Please sign in to comment.