]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.0-t8-linuxTV-3of3-lkml.patch
- obsolete
[packages/kernel.git] / 2.6.0-t8-linuxTV-3of3-lkml.patch
CommitLineData
1cd40e81 1diff -ura xx-linux-2.6.0-test8/drivers/media/video/tda9840.c linux-2.6.0-test8-p/drivers/media/video/tda9840.c
2--- xx-linux-2.6.0-test8/drivers/media/video/tda9840.c 2003-09-10 11:28:54.000000000 +0200
3+++ linux-2.6.0-test8-p/drivers/media/video/tda9840.c 2003-10-21 11:21:02.000000000 +0200
4@@ -196,6 +196,7 @@
5 printk("tda9840.o: not enough kernel memory.\n");
6 return -ENOMEM;
7 }
8+ memset(client, 0, sizeof(struct i2c_client));
9
10 /* fill client structure */
11 sprintf(client->name,"tda9840 (0x%02x)", address);
12@@ -258,9 +259,7 @@
13 }
14
15 static struct i2c_driver driver = {
16-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
17 .owner = THIS_MODULE,
18-#endif
19 .name = "tda9840 driver",
20 .id = I2C_DRIVERID_TDA9840,
21 .flags = I2C_DF_NOTIFY,
22diff -ura xx-linux-2.6.0-test8/drivers/media/video/tea6415c.c linux-2.6.0-test8-p/drivers/media/video/tea6415c.c
23--- xx-linux-2.6.0-test8/drivers/media/video/tea6415c.c 2003-09-10 11:28:54.000000000 +0200
24+++ linux-2.6.0-test8-p/drivers/media/video/tea6415c.c 2003-10-21 11:20:48.000000000 +0200
25@@ -70,6 +70,7 @@
26 if (0 == client) {
27 return -ENOMEM;
28 }
29+ memset(client, 0, sizeof(struct i2c_client));
30
31 /* fill client structure */
32 sprintf(client->name,"tea6415c (0x%02x)", address);
33@@ -207,9 +208,7 @@
34 }
35
36 static struct i2c_driver driver = {
37-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
38 .owner = THIS_MODULE,
39-#endif
40 .name = "tea6415c driver",
41 .id = I2C_DRIVERID_TEA6415C,
42 .flags = I2C_DF_NOTIFY,
43diff -ura xx-linux-2.6.0-test8/drivers/media/video/tea6420.c linux-2.6.0-test8-p/drivers/media/video/tea6420.c
44--- xx-linux-2.6.0-test8/drivers/media/video/tea6420.c 2003-09-10 11:28:54.000000000 +0200
45+++ linux-2.6.0-test8-p/drivers/media/video/tea6420.c 2003-10-21 11:20:56.000000000 +0200
46@@ -110,7 +110,8 @@
47 if (0 == client) {
48 return -ENOMEM;
49 }
50-
51+ memset(client, 0x0, sizeof(struct i2c_client));
52+
53 /* fill client structure */
54 sprintf(client->name,"tea6420 (0x%02x)", address);
55 client->id = tea6420_id++;
56@@ -187,9 +188,7 @@
57 }
58
59 static struct i2c_driver driver = {
60-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
61 .owner = THIS_MODULE,
62-#endif
63 .name = "tea6420 driver",
64 .id = I2C_DRIVERID_TEA6420,
65 .flags = I2C_DF_NOTIFY,
This page took 0.084555 seconds and 4 git commands to generate.