aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-31 17:40:26 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:04 -0400
commit0c43871b4036444b8734d06ab9ec0bb9046aada4 (patch)
tree6b94d9132ef68746cb60690f6c5565857195597c /arch/sh/drivers
parent00cd1176801d676607115fdda6e1f64b7e1ce02f (diff)
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>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r--arch/sh/drivers/dma/dma-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/drivers/dma/dma-sysfs.c b/arch/sh/drivers/dma/dma-sysfs.c
index 1ee631d3725e..83cc704770d7 100644
--- a/arch/sh/drivers/dma/dma-sysfs.c
+++ b/arch/sh/drivers/dma/dma-sysfs.c
@@ -11,6 +11,7 @@
11 */ 11 */
12#include <linux/kernel.h> 12#include <linux/kernel.h>
13#include <linux/init.h> 13#include <linux/init.h>
14#include <linux/stat.h>
14#include <linux/sysdev.h> 15#include <linux/sysdev.h>
15#include <linux/platform_device.h> 16#include <linux/platform_device.h>
16#include <linux/err.h> 17#include <linux/err.h>