lkml.org 
[lkml]   [2003]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Subject[PATCH] fix tuner.c and tda9887.c in 2.5.69-mm6
From
Date
Hi,

Attached are two patches that make bttv compile and work in 2.5.69-mm6.
I think this broke in -mm4. The patches are probably not correct, but
they work for me.

Regards,

Shane
--- linux-2.5.69-mm6/drivers/media/video/tda9887.c.orig Sat May 17 09:20:35 2003
+++ linux-2.5.69-mm6/drivers/media/video/tda9887.c Sat May 17 09:49:01 2003
@@ -439,9 +439,11 @@
};
static struct i2c_client client_template =
{
- .dev.name = "tda9887",
- .flags = I2C_CLIENT_ALLOW_USE,
- .driver = &driver,
+ .flags = I2C_CLIENT_ALLOW_USE,
+ .driver = &driver,
+ .dev = {
+ .name = "tda9887",
+ },
};

static int tda9887_init_module(void)--- linux-2.5.69-mm6/drivers/media/video/tuner.c.orig Fri May 16 20:38:34 2003
+++ linux-2.5.69-mm6/drivers/media/video/tuner.c Sat May 17 09:46:53 2003
@@ -960,9 +960,11 @@
};
static struct i2c_client client_template =
{
- .dev.name = "(tuner unset)",
- .flags = I2C_CLIENT_ALLOW_USE,
- .driver = &driver,
+ .flags = I2C_CLIENT_ALLOW_USE,
+ .driver = &driver,
+ .dev = {
+ .name = "(tuner unset)",
+ },
};

static int tuner_init_module(void)
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.016 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site