diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-11-26 17:25:09 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 01:43:49 -0500 |
commit | ddfb33c0ffbd8b8f5984de5a8f9513b88cd28b67 (patch) | |
tree | 6512aeb93df0930cf032424a6b83b5456c19aa32 /arch/arm/mach-pxa/tosa.c | |
parent | 31c9b284ae49093fdd9d1e9a347e458c7ebc37a9 (diff) |
[ARM] pxa/tosa: fix building w/o TC6393XB driver
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 366a533b33a9..c46b640e453d 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -733,6 +733,7 @@ static void tosa_tc6393xb_teardown(struct platform_device *dev) | |||
733 | gpio_free(TOSA_GPIO_CARD_VCC_ON); | 733 | gpio_free(TOSA_GPIO_CARD_VCC_ON); |
734 | } | 734 | } |
735 | 735 | ||
736 | #ifdef CONFIG_MFD_TC6393XB | ||
736 | static struct fb_videomode tosa_tc6393xb_lcd_mode[] = { | 737 | static struct fb_videomode tosa_tc6393xb_lcd_mode[] = { |
737 | { | 738 | { |
738 | .xres = 480, | 739 | .xres = 480, |
@@ -769,6 +770,7 @@ static struct tmio_fb_data tosa_tc6393xb_fb_config = { | |||
769 | .height = 82, | 770 | .height = 82, |
770 | .width = 60, | 771 | .width = 60, |
771 | }; | 772 | }; |
773 | #endif | ||
772 | 774 | ||
773 | static struct tc6393xb_platform_data tosa_tc6393xb_data = { | 775 | static struct tc6393xb_platform_data tosa_tc6393xb_data = { |
774 | .scr_pll2cr = 0x0cc1, | 776 | .scr_pll2cr = 0x0cc1, |
@@ -785,7 +787,9 @@ static struct tc6393xb_platform_data tosa_tc6393xb_data = { | |||
785 | .resume = tosa_tc6393xb_resume, | 787 | .resume = tosa_tc6393xb_resume, |
786 | 788 | ||
787 | .nand_data = &tosa_tc6393xb_nand_config, | 789 | .nand_data = &tosa_tc6393xb_nand_config, |
790 | #ifdef CONFIG_MFD_TC6393XB | ||
788 | .fb_data = &tosa_tc6393xb_fb_config, | 791 | .fb_data = &tosa_tc6393xb_fb_config, |
792 | #endif | ||
789 | 793 | ||
790 | .resume_restore = 1, | 794 | .resume_restore = 1, |
791 | }; | 795 | }; |