aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-wiimote.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-wiimote.h')
-rw-r--r--drivers/hid/hid-wiimote.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-wiimote.h b/drivers/hid/hid-wiimote.h
index abbfab8f60b7..1f3e53a3a148 100644
--- a/drivers/hid/hid-wiimote.h
+++ b/drivers/hid/hid-wiimote.h
@@ -125,6 +125,7 @@ extern int wiiext_init(struct wiimote_data *wdata);
125extern void wiiext_deinit(struct wiimote_data *wdata); 125extern void wiiext_deinit(struct wiimote_data *wdata);
126extern void wiiext_event(struct wiimote_data *wdata, bool plugged); 126extern void wiiext_event(struct wiimote_data *wdata, bool plugged);
127extern bool wiiext_active(struct wiimote_data *wdata); 127extern bool wiiext_active(struct wiimote_data *wdata);
128extern void wiiext_handle(struct wiimote_data *wdata, const __u8 *payload);
128 129
129#else 130#else
130 131
@@ -132,6 +133,7 @@ static inline int wiiext_init(void *u) { return 0; }
132static inline void wiiext_deinit(void *u) { } 133static inline void wiiext_deinit(void *u) { }
133static inline void wiiext_event(void *u, bool p) { } 134static inline void wiiext_event(void *u, bool p) { }
134static inline bool wiiext_active(void *u) { return false; } 135static inline bool wiiext_active(void *u) { return false; }
136static inline void wiiext_handle(void *u, const __u8 *p) { }
135 137
136#endif 138#endif
137 139