Compiler error fixes against saa7134-20030429

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Gerd,

Have just tried to compile your latest snapshot for the saa7134 however
it fails for me.
This patch corrects those errors. (gcc version 2.96 20000731 (Red Hat
Linux 7.3 2.96-113))

Cheers,

   -Greg


--- saa7134-cards.c.dist        Sun May  4 18:07:49 2003
+++ saa7134-cards.c     Sun May  4 18:08:24 2003
@@ -565,11 +565,6 @@
        char  *model;
        int   tuner_type;
 } fly_list[0x20] = {
-       /* default catch ... */
-       [ 0 ... 0x1f ] = {
-               .model      = "UNKNOWN",
-               .tuner_type = TUNER_ABSENT,
-       },
        /* ... the ones known so far */
        [ 0x05 ] = {
                .model      = "PAL-BG",
@@ -583,12 +578,16 @@
                .model      = "NTSC",
                .tuner_type = TUNER_ABSENT /* FIXME */,
        },
+       /* default catch ... */
+       [ 0 ... 0x1f ] = {
+               .model      = "UNKNOWN",
+               .tuner_type = TUNER_ABSENT,
+       },
 };

 static void board_flyvideo(struct saa7134_dev *dev)
 {
        u32 value;
-       int index;

        saa_writel(SAA7134_GPIO_GPMODE0 >> 2,   0);
        value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);

--






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux