summaryrefslogtreecommitdiff
path: root/include/media/ir-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/ir-core.h')
-rw-r--r--include/media/ir-core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index b452a478c12c..40900739cb84 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -178,4 +178,11 @@ void ir_raw_init(void);
#define load_nec_decode() 0
#endif
+/* from ir-rc5-decoder.c */
+#ifdef CONFIG_IR_RC5_DECODER_MODULE
+#define load_rc5_decode() request_module("ir-rc5-decoder")
+#else
+#define load_rc5_decode() 0
+#endif
+
#endif /* _IR_CORE */