drivers/media/video/mxb.c: In function `mxb_probe': drivers/media/video/mxb.c:264: error: invalid lvalue in assignment --- 25-akpm/drivers/media/video/dpc7146.c | 2 +- 25-akpm/drivers/media/video/hexium_gemini.c | 2 +- 25-akpm/drivers/media/video/hexium_orion.c | 6 +++--- 25-akpm/drivers/media/video/mxb.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff -puN drivers/media/video/mxb.c~gcc-35-video drivers/media/video/mxb.c --- 25/drivers/media/video/mxb.c~gcc-35-video Fri Jan 23 16:50:04 2004 +++ 25-akpm/drivers/media/video/mxb.c Fri Jan 23 16:50:04 2004 @@ -261,7 +261,7 @@ static int mxb_probe(struct saa7146_dev* /* all devices are present, probe was successful */ /* we store the pointer in our private data field */ - (struct mxb*)dev->ext_priv = mxb; + dev->ext_priv = mxb; return 0; } diff -puN drivers/media/video/hexium_orion.c~gcc-35-video drivers/media/video/hexium_orion.c --- 25/drivers/media/video/hexium_orion.c~gcc-35-video Fri Jan 23 16:50:04 2004 +++ 25-akpm/drivers/media/video/hexium_orion.c Fri Jan 23 16:50:04 2004 @@ -255,7 +255,7 @@ static int hexium_probe(struct saa7146_d if (0x17c8 == dev->pci->subsystem_vendor && 0x0101 == dev->pci->subsystem_device) { printk("hexium_orion: device is a Hexium Orion w/ 1 SVHS + 3 BNC inputs.\n"); /* we store the pointer in our private data field */ - (struct hexium *) dev->ext_priv = hexium; + dev->ext_priv = hexium; hexium->type = HEXIUM_ORION_1SVHS_3BNC; return 0; } @@ -263,7 +263,7 @@ static int hexium_probe(struct saa7146_d if (0x17c8 == dev->pci->subsystem_vendor && 0x2101 == dev->pci->subsystem_device) { printk("hexium_orion: device is a Hexium Orion w/ 4 BNC inputs.\n"); /* we store the pointer in our private data field */ - (struct hexium *) dev->ext_priv = hexium; + dev->ext_priv = hexium; hexium->type = HEXIUM_ORION_4BNC; return 0; } @@ -273,7 +273,7 @@ static int hexium_probe(struct saa7146_d if (0 == (err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, 0x00, I2C_SMBUS_BYTE_DATA, &data))) { printk("hexium_orion: device is a Hexium HV-PCI6/Orion (old).\n"); /* we store the pointer in our private data field */ - (struct hexium *) dev->ext_priv = hexium; + dev->ext_priv = hexium; hexium->type = HEXIUM_HV_PCI6_ORION; return 0; } diff -puN drivers/media/video/hexium_gemini.c~gcc-35-video drivers/media/video/hexium_gemini.c --- 25/drivers/media/video/hexium_gemini.c~gcc-35-video Fri Jan 23 16:50:04 2004 +++ 25-akpm/drivers/media/video/hexium_gemini.c Fri Jan 23 16:50:04 2004 @@ -245,7 +245,7 @@ static int hexium_attach(struct saa7146_ return -ENOMEM; } memset(hexium, 0x0, sizeof(struct hexium)); - (struct hexium *) dev->ext_priv = hexium; + dev->ext_priv = hexium; /* enable i2c-port pins */ saa7146_write(dev, MC1, (MASK_08 | MASK_24 | MASK_10 | MASK_26)); diff -puN drivers/media/video/dpc7146.c~gcc-35-video drivers/media/video/dpc7146.c --- 25/drivers/media/video/dpc7146.c~gcc-35-video Fri Jan 23 16:50:11 2004 +++ 25-akpm/drivers/media/video/dpc7146.c Fri Jan 23 16:50:18 2004 @@ -131,7 +131,7 @@ static int dpc_probe(struct saa7146_dev* DEB_D(("dpc_v4l2.o: dpc_probe succeeded for this device.\n")); /* we store the pointer in our private data field */ - (struct dpc*)dev->ext_priv = dpc; + dev->ext_priv = dpc; return 0; } _