Skip to content

Commit ce7cf07

Browse files
author
Paul Gortmaker
committed
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>
1 parent 6a550b9 commit ce7cf07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/alpha/kernel/pci-sysfs.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111

1212
#include <linux/sched.h>
13+
#include <linux/stat.h>
1314
#include <linux/slab.h>
1415
#include <linux/pci.h>
1516

0 commit comments

Comments
 (0)