aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/dvb_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/dvb_usb.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvb_usb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb.h b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
index 059291b892b8..e2678a78db4c 100644
--- a/drivers/media/usb/dvb-usb-v2/dvb_usb.h
+++ b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
@@ -400,4 +400,13 @@ extern int dvb_usbv2_reset_resume(struct usb_interface *);
400extern int dvb_usbv2_generic_rw(struct dvb_usb_device *, u8 *, u16, u8 *, u16); 400extern int dvb_usbv2_generic_rw(struct dvb_usb_device *, u8 *, u16, u8 *, u16);
401extern int dvb_usbv2_generic_write(struct dvb_usb_device *, u8 *, u16); 401extern int dvb_usbv2_generic_write(struct dvb_usb_device *, u8 *, u16);
402 402
403/* stub implementations that will be never called when RC-core is disabled */
404#if !defined(CONFIG_RC_CORE) && !defined(CONFIG_RC_CORE_MODULE)
405#define rc_repeat(args...)
406#define rc_keydown(args...)
407#define rc_keydown_notimeout(args...)
408#define rc_keyup(args...)
409#define rc_g_keycode_from_table(args...) 0
410#endif
411
403#endif 412#endif