Commit 9e915e5b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1e19c21e
...@@ -293,19 +293,7 @@ EXPORT_SYMBOL_GPL(sms_board_lna_control); ...@@ -293,19 +293,7 @@ EXPORT_SYMBOL_GPL(sms_board_lna_control);
int sms_board_load_modules(int id) int sms_board_load_modules(int id)
{ {
switch (id) { request_module("smsdvb");
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;
}
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(sms_board_load_modules); EXPORT_SYMBOL_GPL(sms_board_load_modules);
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