Mike Rapoport | 96974a2 | 2011-04-25 01:09:05 +0300 | [diff] [blame^] | 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__ */ |