75f9248d0bf23497e4cb99437d931367305b32e6
[deliverable/linux.git] / arch / arm / mach-omap2 / common-board-devices.h
1 #ifndef __OMAP_COMMON_BOARD_DEVICES__
2 #define __OMAP_COMMON_BOARD_DEVICES__
3
4 #if defined(CONFIG_TOUCHSCREEN_ADS7846) || \
5 defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
6 struct ads7846_platform_data;
7
8 void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
9 struct ads7846_platform_data *board_pdata);
10 #else
11 static inline void omap_ads7846_init(int bus_num,
12 int gpio_pendown, int gpio_debounce,
13 struct ads7846_platform_data *board_data)
14 {
15 }
16 #endif
17
18 #endif /* __OMAP_COMMON_BOARD_DEVICES__ */
This page took 0.031681 seconds and 4 git commands to generate.