diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-27 08:44:00 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-27 08:44:00 -0200 |
commit | 227c9555066cd0e4d06443c59239eb4f6f8ae25d (patch) | |
tree | 0f39f1ade4efff08331d7617f50c0e9e0bd049dd | |
parent | 93b293e2a697005bb0eca0f5a792f02f97d61e4f (diff) | |
download | mediapointer-dvb-s2-227c9555066cd0e4d06443c59239eb4f6f8ae25d.tar.gz mediapointer-dvb-s2-227c9555066cd0e4d06443c59239eb4f6f8ae25d.tar.bz2 |
em28xx: replace magic numbers for mux aliases
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Instead of using magic vmux/amux, let's use an alias where possible.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-cards.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c index 64f097446..33000a5fd 100644 --- a/linux/drivers/media/video/em28xx/em28xx-cards.c +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c @@ -328,15 +328,15 @@ struct em28xx_board em28xx_boards[] = { .decoder = EM28XX_SAA711X, .input = { { .type = EM28XX_VMUX_TELEVISION, - .vmux = 2, + .vmux = SAA7115_COMPOSITE2, .amux = EM28XX_AMUX_VIDEO, }, { .type = EM28XX_VMUX_COMPOSITE1, - .vmux = 0, + .vmux = SAA7115_COMPOSITE0, .amux = EM28XX_AMUX_LINE_IN, }, { .type = EM28XX_VMUX_SVIDEO, - .vmux = 9, + .vmux = SAA7115_COMPOSITE0, .amux = EM28XX_AMUX_LINE_IN, } }, }, @@ -660,7 +660,7 @@ struct em28xx_board em28xx_boards[] = { }, { .type = EM28XX_VMUX_COMPOSITE1, .vmux = TVP5150_COMPOSITE1, - .amux = 3, + .amux = EM28XX_AMUX_LINE_IN, .gpio = hauppauge_wintv_hvr_900_analog, }, { .type = EM28XX_VMUX_SVIDEO, |