summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c-fb.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-11 02:04:55 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-11 14:49:20 +0300
commitbbfce37b3ea11d13a984063a162c898a5fb23b1e (patch)
tree59d44d8ea1df46eb55a2790589762a5771a696f5 /drivers/video/s3c-fb.c
parent015623819b44a3b25347c9de3efd9ad01d475259 (diff)
downloadtalos-obmc-linux-bbfce37b3ea11d13a984063a162c898a5fb23b1e.tar.gz
talos-obmc-linux-bbfce37b3ea11d13a984063a162c898a5fb23b1e.zip
video/s3c: move platform_data out of arch/arm
The s3c-fb driver requires header files from the samsung platforms to find its platform_data definition, but this no longer works on multiplatform kernels, so let's move the data into a new header file under include/linux/platform_data. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: linux-fbdev@vger.kernel.org Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r--drivers/video/s3c-fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index 968a62571df7..2e7991c7ca08 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -24,10 +24,9 @@
#include <linux/uaccess.h>
#include <linux/interrupt.h>
#include <linux/pm_runtime.h>
+#include <linux/platform_data/video_s3c.h>
#include <video/samsung_fimd.h>
-#include <mach/map.h>
-#include <plat/fb.h>
/* This driver will export a number of framebuffer interfaces depending
* on the configuration passed in via the platform data. Each fb instance
OpenPOWER on IntegriCloud