aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-27 05:44:00 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:42 -0500
commita5942b5c26864bfc7dda653f294e956dc0a36c84 (patch)
treeed205ae74bb9e046cf5dfc72316a001afd9c79c3 /drivers
parent122b77e59ed2de0692dfe45c87a93e98156fe03a (diff)
V4L/DVB (9761): em28xx: replace magic numbers for mux aliases
Instead of using magic vmux/amux, let's use an alias where possible. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 51fa348514ee..2a4c99090601 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -315,15 +315,15 @@ struct em28xx_board em28xx_boards[] = {
315 .decoder = EM28XX_SAA711X, 315 .decoder = EM28XX_SAA711X,
316 .input = { { 316 .input = { {
317 .type = EM28XX_VMUX_TELEVISION, 317 .type = EM28XX_VMUX_TELEVISION,
318 .vmux = 2, 318 .vmux = SAA7115_COMPOSITE2,
319 .amux = EM28XX_AMUX_VIDEO, 319 .amux = EM28XX_AMUX_VIDEO,
320 }, { 320 }, {
321 .type = EM28XX_VMUX_COMPOSITE1, 321 .type = EM28XX_VMUX_COMPOSITE1,
322 .vmux = 0, 322 .vmux = SAA7115_COMPOSITE0,
323 .amux = EM28XX_AMUX_LINE_IN, 323 .amux = EM28XX_AMUX_LINE_IN,
324 }, { 324 }, {
325 .type = EM28XX_VMUX_SVIDEO, 325 .type = EM28XX_VMUX_SVIDEO,
326 .vmux = 9, 326 .vmux = SAA7115_COMPOSITE0,
327 .amux = EM28XX_AMUX_LINE_IN, 327 .amux = EM28XX_AMUX_LINE_IN,
328 } }, 328 } },
329 }, 329 },
@@ -623,7 +623,7 @@ struct em28xx_board em28xx_boards[] = {
623 }, { 623 }, {
624 .type = EM28XX_VMUX_COMPOSITE1, 624 .type = EM28XX_VMUX_COMPOSITE1,
625 .vmux = TVP5150_COMPOSITE1, 625 .vmux = TVP5150_COMPOSITE1,
626 .amux = 3, 626 .amux = EM28XX_AMUX_LINE_IN,
627 .gpio = hauppauge_wintv_hvr_900_analog, 627 .gpio = hauppauge_wintv_hvr_900_analog,
628 }, { 628 }, {
629 .type = EM28XX_VMUX_SVIDEO, 629 .type = EM28XX_VMUX_SVIDEO,