diff options
-rw-r--r-- | arch/arm/mach-omap2/board-omap3gta04.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3gta04.c b/arch/arm/mach-omap2/board-omap3gta04.c index 87f8829..70ef1f9 100644 --- a/arch/arm/mach-omap2/board-omap3gta04.c +++ b/arch/arm/mach-omap2/board-omap3gta04.c @@ -46,6 +46,8 @@ #include <linux/leds-tca6507.h> #endif +#include <linux/omapfb.h> + #include <linux/sysfs.h> #include <mach/hardware.h> @@ -357,6 +359,11 @@ static struct platform_device gta04_dss_device = { }, }; +static struct omapfb_platform_data gta04_omapfb_data = { + .mem_desc.region[0].format_used = 1, + .mem_desc.region[0].format = OMAPFB_COLOR_RGB565, +}; + static struct regulator_consumer_supply gta04_vdac_supply = { .supply = "vdda_dac", .dev = >a04_dss_device.dev, @@ -1226,6 +1233,8 @@ static void __init gta04_init(void) platform_add_devices(gta04_devices, ARRAY_SIZE(gta04_devices)); + omapfb_set_platform_data(>a04_omapfb_data); + omap2_hsmmc_init(mmc); // #ifdef CONFIG_OMAP_MUX |