Commit 0c43871b4036444b8734d06ab9ec0bb9046aada4

Authored by Paul Gortmaker
1 parent 00cd117680

sh: fix implicit use of stat.h in arch/sh specific files

To fix:

arch/sh/drivers/dma/dma-sysfs.c:45:8: error: 'S_IRUGO' undeclared here (not in a function)
arch/sh/drivers/dma/dma-sysfs.c:75:8: error: 'S_IWUSR' undeclared here (not in a function)
make[4]: *** [arch/sh/drivers/dma/dma-sysfs.o] Error 1

drivers/sh/intc/core.c:449: error: 'S_IRUGO' undeclared here (not in a function)
make[5]: *** [drivers/sh/intc/core.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

arch/sh/drivers/dma/dma-sysfs.c
... ... @@ -11,6 +11,7 @@
11 11 */
12 12 #include <linux/kernel.h>
13 13 #include <linux/init.h>
  14 +#include <linux/stat.h>
14 15 #include <linux/sysdev.h>
15 16 #include <linux/platform_device.h>
16 17 #include <linux/err.h>
drivers/sh/intc/core.c
... ... @@ -22,6 +22,7 @@
22 22 #include <linux/irq.h>
23 23 #include <linux/io.h>
24 24 #include <linux/slab.h>
  25 +#include <linux/stat.h>
25 26 #include <linux/interrupt.h>
26 27 #include <linux/sh_intc.h>
27 28 #include <linux/sysdev.h>