diff options
-rw-r--r-- | arch/arm/mach-tegra/board-nvodm.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c index 43ff10b83146..d4a5174efa95 100644 --- a/arch/arm/mach-tegra/board-nvodm.c +++ b/arch/arm/mach-tegra/board-nvodm.c @@ -847,6 +847,13 @@ static noinline void __init tegra_setup_rfkill(void) static void tegra_setup_rfkill(void) { } #endif +#ifdef CONFIG_TOUCHSCREEN_TEGRA_ODM +static struct platform_device tegra_touch_device = { + .name = "tegra_touch", + .id = -1, +}; +#endif + static struct platform_device *nvodm_devices[] __initdata = { #ifdef CONFIG_RTC_DRV_TEGRA_ODM &tegra_rtc_device, @@ -860,6 +867,9 @@ static struct platform_device *nvodm_devices[] __initdata = { #ifdef CONFIG_REGULATOR_TEGRA &tegra_regulator_device, #endif +#ifdef CONFIG_TOUCHSCREEN_TEGRA_ODM + &tegra_touch_device, +#endif }; #ifdef CONFIG_SPI_TEGRA |