summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-02-12 18:23:31 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-12 18:23:31 -0800
commit631a9dca60ddd7d84a08171a14828e9cfb667d48 (patch)
treecb4a278bdca3144229a619a4872a577fce6f00c0
parent96b5a46e2a72dc1829370c87053e0cd558d58bc0 (diff)
[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>
-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>