summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-02-13 03:23:31 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-13 03:23:31 +0100
commit631a9dca60ddd7d84a08171a14828e9cfb667d48 (patch)
treecb4a278bdca3144229a619a4872a577fce6f00c0 /drivers
parentWMI: initialize wmi_blocks.list even if ACPI is disabled (diff)
downloadlinux-631a9dca60ddd7d84a08171a14828e9cfb667d48.tar.xz
linux-631a9dca60ddd7d84a08171a14828e9cfb667d48.zip
[SPARC]: video/cg14.c and video/sbuslib.c build fixes
Apparently these drivers now need uaccess.h Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/cg14.c1
-rw-r--r--drivers/video/sbuslib.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c
index 41f6dbf61be7..fdc9f43ec30a 100644
--- a/drivers/video/cg14.c
+++ b/drivers/video/cg14.c
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/fb.h>
#include <linux/mm.h>
+#include <linux/uaccess.h>
#include <asm/io.h>
#include <asm/prom.h>
diff --git a/drivers/video/sbuslib.c b/drivers/video/sbuslib.c
index 963a454b7074..4deaac05b938 100644
--- a/drivers/video/sbuslib.c
+++ b/drivers/video/sbuslib.c
@@ -9,6 +9,7 @@
#include <linux/string.h>
#include <linux/fb.h>
#include <linux/mm.h>
+#include <linux/uaccess.h>
#include <asm/oplib.h>
#include <asm/fbio.h>