Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ced80c67cd1ed503c6fb72f02ac7342ab4ebf67a
Commit:     ced80c67cd1ed503c6fb72f02ac7342ab4ebf67a
Parent:     77b7477467824098741351b6253a4ad292e28df9
Author:     Markus Rechberger <[EMAIL PROTECTED]>
AuthorDate: Fri Apr 27 12:31:07 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:43:26 2007 -0300

    V4L/DVB (5299): Added support for loading cx88-dvb and cx88-blackbird
    
    Added support for loading cx88-dvb and cx88-blackbird
    
    Signed-off-by: Markus Rechberger <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/cx88/cx88-mpeg.c |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/drivers/media/video/cx88/cx88-mpeg.c 
b/drivers/media/video/cx88/cx88-mpeg.c
index cd01d23..db98f1f 100644
--- a/drivers/media/video/cx88/cx88-mpeg.c
+++ b/drivers/media/video/cx88/cx88-mpeg.c
@@ -53,19 +53,11 @@ MODULE_PARM_DESC(debug,"enable debug messages [mpeg]");
 static void request_module_async(struct work_struct *work)
 {
        struct cx8802_dev *dev=container_of(work, struct cx8802_dev, 
request_module_wk);
-       switch (cx88_boards[dev->core->board].mpeg) {
-       case CX88_MPEG_BLACKBIRD:
-               request_module("cx88-blackbird");
-               break;
-       case CX88_MPEG_DVB:
+
+       if (cx88_boards[dev->core->board].mpeg & CX88_MPEG_DVB)
                request_module("cx88-dvb");
-               break;
-       case CX88_BOARD_NONE:
-               /* reaching this one isn't possible */
-               break;
-       default:
-               printk("cx88-mpeg.c: WARNING extension [%d] is not supposed to 
be supported\n",cx88_boards[dev->core->board].mpeg);
-       }
+       if (cx88_boards[dev->core->board].mpeg & CX88_MPEG_BLACKBIRD)
+               request_module("cx88-blackbird");
 }
 
 static void request_modules(struct cx8802_dev *dev)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to