Skip to content

Commit

Permalink
[ARM] pxa/tosa: fix building w/o TC6393XB driver
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Dmitry Baryshkov authored and Eric Miao committed Dec 2, 2008
1 parent 31c9b28 commit ddfb33c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/mach-pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ static void tosa_tc6393xb_teardown(struct platform_device *dev)
gpio_free(TOSA_GPIO_CARD_VCC_ON);
}

#ifdef CONFIG_MFD_TC6393XB
static struct fb_videomode tosa_tc6393xb_lcd_mode[] = {
{
.xres = 480,
Expand Down Expand Up @@ -769,6 +770,7 @@ static struct tmio_fb_data tosa_tc6393xb_fb_config = {
.height = 82,
.width = 60,
};
#endif

static struct tc6393xb_platform_data tosa_tc6393xb_data = {
.scr_pll2cr = 0x0cc1,
Expand All @@ -785,7 +787,9 @@ static struct tc6393xb_platform_data tosa_tc6393xb_data = {
.resume = tosa_tc6393xb_resume,

.nand_data = &tosa_tc6393xb_nand_config,
#ifdef CONFIG_MFD_TC6393XB
.fb_data = &tosa_tc6393xb_fb_config,
#endif

.resume_restore = 1,
};
Expand Down

0 comments on commit ddfb33c

Please sign in to comment.