Commit 58ae1c23 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (9506): ivtv/cx18: fix test whether modules should be loaded or not.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1a8dc86d
...@@ -581,10 +581,10 @@ static void cx18_load_and_init_modules(struct cx18 *cx) ...@@ -581,10 +581,10 @@ static void cx18_load_and_init_modules(struct cx18 *cx)
#ifdef MODULE #ifdef MODULE
/* load modules */ /* load modules */
#ifndef CONFIG_MEDIA_TUNER #ifdef CONFIG_MEDIA_TUNER_MODULE
hw = cx18_request_module(cx, hw, "tuner", CX18_HW_TUNER); hw = cx18_request_module(cx, hw, "tuner", CX18_HW_TUNER);
#endif #endif
#ifndef CONFIG_VIDEO_CS5345 #ifdef CONFIG_VIDEO_CS5345_MODULE
hw = cx18_request_module(cx, hw, "cs5345", CX18_HW_CS5345); hw = cx18_request_module(cx, hw, "cs5345", CX18_HW_CS5345);
#endif #endif
#endif #endif
......
...@@ -875,43 +875,43 @@ static void ivtv_load_and_init_modules(struct ivtv *itv) ...@@ -875,43 +875,43 @@ static void ivtv_load_and_init_modules(struct ivtv *itv)
#ifdef MODULE #ifdef MODULE
/* load modules */ /* load modules */
#ifndef CONFIG_MEDIA_TUNER #ifdef CONFIG_MEDIA_TUNER_MODULE
hw = ivtv_request_module(itv, hw, "tuner", IVTV_HW_TUNER); hw = ivtv_request_module(itv, hw, "tuner", IVTV_HW_TUNER);
#endif #endif
#ifndef CONFIG_VIDEO_CX25840 #ifdef CONFIG_VIDEO_CX25840_MODULE
hw = ivtv_request_module(itv, hw, "cx25840", IVTV_HW_CX25840); hw = ivtv_request_module(itv, hw, "cx25840", IVTV_HW_CX25840);
#endif #endif
#ifndef CONFIG_VIDEO_SAA711X #ifdef CONFIG_VIDEO_SAA711X_MODULE
hw = ivtv_request_module(itv, hw, "saa7115", IVTV_HW_SAA711X); hw = ivtv_request_module(itv, hw, "saa7115", IVTV_HW_SAA711X);
#endif #endif
#ifndef CONFIG_VIDEO_SAA7127 #ifdef CONFIG_VIDEO_SAA7127_MODULE
hw = ivtv_request_module(itv, hw, "saa7127", IVTV_HW_SAA7127); hw = ivtv_request_module(itv, hw, "saa7127", IVTV_HW_SAA7127);
#endif #endif
#ifndef CONFIG_VIDEO_SAA717X #ifdef CONFIG_VIDEO_SAA717X_MODULE
hw = ivtv_request_module(itv, hw, "saa717x", IVTV_HW_SAA717X); hw = ivtv_request_module(itv, hw, "saa717x", IVTV_HW_SAA717X);
#endif #endif
#ifndef CONFIG_VIDEO_UPD64031A #ifdef CONFIG_VIDEO_UPD64031A_MODULE
hw = ivtv_request_module(itv, hw, "upd64031a", IVTV_HW_UPD64031A); hw = ivtv_request_module(itv, hw, "upd64031a", IVTV_HW_UPD64031A);
#endif #endif
#ifndef CONFIG_VIDEO_UPD64083 #ifdef CONFIG_VIDEO_UPD64083_MODULE
hw = ivtv_request_module(itv, hw, "upd64083", IVTV_HW_UPD6408X); hw = ivtv_request_module(itv, hw, "upd64083", IVTV_HW_UPD6408X);
#endif #endif
#ifndef CONFIG_VIDEO_MSP3400 #ifdef CONFIG_VIDEO_MSP3400_MODULE
hw = ivtv_request_module(itv, hw, "msp3400", IVTV_HW_MSP34XX); hw = ivtv_request_module(itv, hw, "msp3400", IVTV_HW_MSP34XX);
#endif #endif
#ifndef CONFIG_VIDEO_VP27SMPX #ifdef CONFIG_VIDEO_VP27SMPX_MODULE
hw = ivtv_request_module(itv, hw, "vp27smpx", IVTV_HW_VP27SMPX); hw = ivtv_request_module(itv, hw, "vp27smpx", IVTV_HW_VP27SMPX);
#endif #endif
#ifndef CONFIG_VIDEO_WM8775 #ifdef CONFIG_VIDEO_WM8775_MODULE
hw = ivtv_request_module(itv, hw, "wm8775", IVTV_HW_WM8775); hw = ivtv_request_module(itv, hw, "wm8775", IVTV_HW_WM8775);
#endif #endif
#ifndef CONFIG_VIDEO_WM8739 #ifdef CONFIG_VIDEO_WM8739_MODULE
hw = ivtv_request_module(itv, hw, "wm8739", IVTV_HW_WM8739); hw = ivtv_request_module(itv, hw, "wm8739", IVTV_HW_WM8739);
#endif #endif
#ifndef CONFIG_VIDEO_CS53L32A #ifdef CONFIG_VIDEO_CS53L32A_MODULE
hw = ivtv_request_module(itv, hw, "cs53l32a", IVTV_HW_CS53L32A); hw = ivtv_request_module(itv, hw, "cs53l32a", IVTV_HW_CS53L32A);
#endif #endif
#ifndef CONFIG_VIDEO_M52790 #ifdef CONFIG_VIDEO_M52790_MODULE
hw = ivtv_request_module(itv, hw, "m52790", IVTV_HW_M52790); hw = ivtv_request_module(itv, hw, "m52790", IVTV_HW_M52790);
#endif #endif
#endif #endif
......
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