![Arnd Bergmann](/assets/img/avatar_default.png)
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>
72 lines
2.2 KiB
C
72 lines
2.2 KiB
C
/* arch/arm/plat-samsung/include/plat/fb.h
|
|
*
|
|
* Copyright 2008 Openmoko, Inc.
|
|
* Copyright 2008 Simtec Electronics
|
|
* http://armlinux.simtec.co.uk/
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* S3C - FB platform data definitions
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __PLAT_S3C_FB_H
|
|
#define __PLAT_S3C_FB_H __FILE__
|
|
|
|
#include <linux/platform_data/video_s3c.h>
|
|
|
|
/**
|
|
* s3c_fb_set_platdata() - Setup the FB device with platform data.
|
|
* @pd: The platform data to set. The data is copied from the passed structure
|
|
* so the machine data can mark the data __initdata so that any unused
|
|
* machines will end up dumping their data at runtime.
|
|
*/
|
|
extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd);
|
|
|
|
/**
|
|
* s5p_fimd0_set_platdata() - Setup the FB device with platform data.
|
|
* @pd: The platform data to set. The data is copied from the passed structure
|
|
* so the machine data can mark the data __initdata so that any unused
|
|
* machines will end up dumping their data at runtime.
|
|
*/
|
|
extern void s5p_fimd0_set_platdata(struct s3c_fb_platdata *pd);
|
|
|
|
/**
|
|
* s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD
|
|
*
|
|
* Initialise the GPIO for an 24bpp LCD display on the RGB interface.
|
|
*/
|
|
extern void s3c64xx_fb_gpio_setup_24bpp(void);
|
|
|
|
/**
|
|
* s5pc100_fb_gpio_setup_24bpp() - S5PC100 setup function for 24bpp LCD
|
|
*
|
|
* Initialise the GPIO for an 24bpp LCD display on the RGB interface.
|
|
*/
|
|
extern void s5pc100_fb_gpio_setup_24bpp(void);
|
|
|
|
/**
|
|
* s5pv210_fb_gpio_setup_24bpp() - S5PV210/S5PC110 setup function for 24bpp LCD
|
|
*
|
|
* Initialise the GPIO for an 24bpp LCD display on the RGB interface.
|
|
*/
|
|
extern void s5pv210_fb_gpio_setup_24bpp(void);
|
|
|
|
/**
|
|
* exynos4_fimd0_gpio_setup_24bpp() - Exynos4 setup function for 24bpp LCD0
|
|
*
|
|
* Initialise the GPIO for an 24bpp LCD display on the RGB interface 0.
|
|
*/
|
|
extern void exynos4_fimd0_gpio_setup_24bpp(void);
|
|
|
|
/**
|
|
* s5p64x0_fb_gpio_setup_24bpp() - S5P6440/S5P6450 setup function for 24bpp LCD
|
|
*
|
|
* Initialise the GPIO for an 24bpp LCD display on the RGB interface.
|
|
*/
|
|
extern void s5p64x0_fb_gpio_setup_24bpp(void);
|
|
|
|
#endif /* __PLAT_S3C_FB_H */
|