aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-07 09:35:00 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 06:41:59 -0400
commit9e915e5bc8dfa3380c376a5e10f1abe8c17f324a (patch)
treebbf940261d343424dc850ee98a3576f31fd7ae46 /drivers/media/common/siano
parent1e19c21ec7b5e66228602f4d88d894e23db1e004 (diff)
[media] siano: always load smsdvb
Without smsdvb, the driver actually does nothing, as it lacks the userspace API. While I wrote it independently, in order to make a sms2270 board I have here to work, this patch is functionally identical to this patch from Doron Cohen: http://patchwork.linuxtv.org/patch/7894/ Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/siano')
-rw-r--r--drivers/media/common/siano/sms-cards.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/media/common/siano/sms-cards.c b/drivers/media/common/siano/sms-cards.c
index b22b61dbc0e2..04bb04ca414f 100644
--- a/drivers/media/common/siano/sms-cards.c
+++ b/drivers/media/common/siano/sms-cards.c
@@ -293,19 +293,7 @@ EXPORT_SYMBOL_GPL(sms_board_lna_control);
293 293
294int sms_board_load_modules(int id) 294int sms_board_load_modules(int id)
295{ 295{
296 switch (id) { 296 request_module("smsdvb");
297 case SMS1XXX_BOARD_HAUPPAUGE_CATAMOUNT:
298 case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A:
299 case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B:
300 case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM:
301 case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD:
302 case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2:
303 request_module("smsdvb");
304 break;
305 default:
306 /* do nothing */
307 break;
308 }
309 return 0; 297 return 0;
310} 298}
311EXPORT_SYMBOL_GPL(sms_board_load_modules); 299EXPORT_SYMBOL_GPL(sms_board_load_modules);