Commit 324a6673 authored by James Hogan's avatar James Hogan Committed by Mauro Carvalho Chehab

[media] rc: ir-raw: Load ir-sharp-decoder module at init

Commit 1d184b0b ([media] media: rc: add raw decoder for Sharp
protocol) added a new raw IR decoder for the sharp protocol, but didn't
add the code to load the module at init as is done for other raw
decoders, so add that code now.
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 261cb200
...@@ -352,6 +352,7 @@ void ir_raw_init(void) ...@@ -352,6 +352,7 @@ void ir_raw_init(void)
load_jvc_decode(); load_jvc_decode();
load_sony_decode(); load_sony_decode();
load_sanyo_decode(); load_sanyo_decode();
load_sharp_decode();
load_mce_kbd_decode(); load_mce_kbd_decode();
load_lirc_codec(); load_lirc_codec();
......
...@@ -210,6 +210,13 @@ static inline void load_sony_decode(void) { } ...@@ -210,6 +210,13 @@ static inline void load_sony_decode(void) { }
static inline void load_sanyo_decode(void) { } static inline void load_sanyo_decode(void) { }
#endif #endif
/* from ir-sharp-decoder.c */
#ifdef CONFIG_IR_SHARP_DECODER_MODULE
#define load_sharp_decode() request_module_nowait("ir-sharp-decoder")
#else
static inline void load_sharp_decode(void) { }
#endif
/* from ir-mce_kbd-decoder.c */ /* from ir-mce_kbd-decoder.c */
#ifdef CONFIG_IR_MCE_KBD_DECODER_MODULE #ifdef CONFIG_IR_MCE_KBD_DECODER_MODULE
#define load_mce_kbd_decode() request_module_nowait("ir-mce_kbd-decoder") #define load_mce_kbd_decode() request_module_nowait("ir-mce_kbd-decoder")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment