diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-05-22 23:25:14 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-06-27 10:15:22 +0200 |
commit | 11c32d7b6274cb0f554943d65bd4a126c4a86dcd (patch) | |
tree | f3cfc6a4c551273b5f754dd873a798792a3a88db /include/linux/platform_data | |
parent | e6dc195c1c69ea525f5001f72d666ac8342139e4 (diff) | |
download | op-kernel-dev-11c32d7b6274cb0f554943d65bd4a126c4a86dcd.zip op-kernel-dev-11c32d7b6274cb0f554943d65bd4a126c4a86dcd.tar.gz |
video: move Versatile CLCD helpers
This moves the Versatile-specific helper code and panel database
down into the drivers/video folder next to the CLCD driver
itself, preserving the config symbol but also moving the header
to platform data.
This is necessary to rid the Integrator of this final <plat/*>
inclusion dependency and get us one less user of the
plat-versatile folder.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: linux-fbdev@vger.kernel.org
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/video-clcd-versatile.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/platform_data/video-clcd-versatile.h b/include/linux/platform_data/video-clcd-versatile.h new file mode 100644 index 0000000..6bb6a1d --- /dev/null +++ b/include/linux/platform_data/video-clcd-versatile.h @@ -0,0 +1,9 @@ +#ifndef PLAT_CLCD_H +#define PLAT_CLCD_H + +struct clcd_panel *versatile_clcd_get_panel(const char *); +int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long); +int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *); +void versatile_clcd_remove_dma(struct clcd_fb *); + +#endif |