* [PATCH] fix tuner.c and tda9887.c in 2.5.69-mm6
@ 2003-05-17 14:20 Shane Shrybman
0 siblings, 0 replies; only message in thread
From: Shane Shrybman @ 2003-05-17 14:20 UTC (permalink / raw)
To: linux-kernel; +Cc: kraxel
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
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
[-- Attachment #2: 2.5.69-mm6.tda9887.diff --]
[-- Type: text/x-diff, Size: 481 bytes --]
--- 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)
[-- Attachment #3: 2.5.69-mm6.tuner.diff --]
[-- Type: text/x-diff, Size: 479 bytes --]
--- 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-17 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-17 14:20 [PATCH] fix tuner.c and tda9887.c in 2.5.69-mm6 Shane Shrybman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).