[media] siano: always load smsdvb
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Mar 2013 14:35:00 +0000 (11:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:41:59 +0000 (07:41 -0300)
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>
drivers/media/common/siano/sms-cards.c

index b22b61dbc0e2c614a9861e948e72bb1a6f6a8a55..04bb04ca414fad81b4de518f7784c736f66a5fd1 100644 (file)
@@ -293,19 +293,7 @@ EXPORT_SYMBOL_GPL(sms_board_lna_control);
 
 int sms_board_load_modules(int id)
 {
-       switch (id) {
-       case SMS1XXX_BOARD_HAUPPAUGE_CATAMOUNT:
-       case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_A:
-       case SMS1XXX_BOARD_HAUPPAUGE_OKEMO_B:
-       case SMS1XXX_BOARD_HAUPPAUGE_WINDHAM:
-       case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD:
-       case SMS1XXX_BOARD_HAUPPAUGE_TIGER_MINICARD_R2:
-               request_module("smsdvb");
-               break;
-       default:
-               /* do nothing */
-               break;
-       }
+       request_module("smsdvb");
        return 0;
 }
 EXPORT_SYMBOL_GPL(sms_board_load_modules);