summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2011-10-04 10:17:21 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-10-28 15:03:54 +0900
commita102a0888799d389c033fe22db3f1e153390fcc5 (patch)
tree78a186c3486d8da197d59eb1f25c5f1c6418e854 /drivers/sh
parentad2a8e7ea4128af984a98537b1b9484722b6b4bb (diff)
downloadop-kernel-dev-a102a0888799d389c033fe22db3f1e153390fcc5.zip
op-kernel-dev-a102a0888799d389c033fe22db3f1e153390fcc5.tar.gz
sh: userimask.c needs linux/stat.h
This fix the problem that S_IRUSR and S_IWUSR are not solved in userimask.c. ----- CC drivers/usb/host/r8a66597-hcd.o drivers/sh/intc/userimask.c:57: error: ‘S_IRUSR’ undeclared here (not in a function) drivers/sh/intc/userimask.c:57: error: ‘S_IWUSR’ undeclared here (not in a function) CC drivers/watchdog/shwdt.o ----- Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/intc/userimask.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sh/intc/userimask.c b/drivers/sh/intc/userimask.c
index e32304b..56bf933 100644
--- a/drivers/sh/intc/userimask.c
+++ b/drivers/sh/intc/userimask.c
@@ -13,6 +13,7 @@
#include <linux/sysdev.h>
#include <linux/init.h>
#include <linux/io.h>
+#include <linux/stat.h>
#include <asm/sizes.h>
#include "internals.h"
OpenPOWER on IntegriCloud