Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 1 | #ifndef __DRIVERS_USB_CHIPIDEA_HOST_H |
| 2 | #define __DRIVERS_USB_CHIPIDEA_HOST_H |
| 3 | |
| 4 | #ifdef CONFIG_USB_CHIPIDEA_HOST |
| 5 | |
Alexander Shishkin | 8e22978 | 2013-06-24 14:46:36 +0300 | [diff] [blame] | 6 | int ci_hdrc_host_init(struct ci_hdrc *ci); |
Peter Chen | 3f124d2 | 2013-08-14 12:44:07 +0300 | [diff] [blame] | 7 | void ci_hdrc_host_destroy(struct ci_hdrc *ci); |
Peter Chen | 2f01a33 | 2015-07-21 09:51:29 +0800 | [diff] [blame] | 8 | void ci_hdrc_host_driver_init(void); |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 9 | |
| 10 | #else |
| 11 | |
Alexander Shishkin | 8e22978 | 2013-06-24 14:46:36 +0300 | [diff] [blame] | 12 | static inline int ci_hdrc_host_init(struct ci_hdrc *ci) |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 13 | { |
| 14 | return -ENXIO; |
| 15 | } |
| 16 | |
Peter Chen | 3f124d2 | 2013-08-14 12:44:07 +0300 | [diff] [blame] | 17 | static inline void ci_hdrc_host_destroy(struct ci_hdrc *ci) |
| 18 | { |
| 19 | |
| 20 | } |
| 21 | |
Peter Chen | 2f01a33 | 2015-07-21 09:51:29 +0800 | [diff] [blame] | 22 | static void ci_hdrc_host_driver_init(void) |
| 23 | { |
| 24 | |
| 25 | } |
| 26 | |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 27 | #endif |
| 28 | |
| 29 | #endif /* __DRIVERS_USB_CHIPIDEA_HOST_H */ |