diff options
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/dv1394.c | 2 | ||||
-rw-r--r-- | drivers/ieee1394/eth1394.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/iso.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/pcilynx.c | 1 | ||||
-rw-r--r-- | drivers/ieee1394/raw1394.c | 2 | ||||
-rw-r--r-- | drivers/ieee1394/video1394.c | 2 |
7 files changed, 4 insertions, 6 deletions
diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c index 55d6ae664fd6..dee9529aa8e7 100644 --- a/drivers/ieee1394/dv1394.c +++ b/drivers/ieee1394/dv1394.c | |||
@@ -2147,7 +2147,7 @@ out: | |||
2147 | } | 2147 | } |
2148 | 2148 | ||
2149 | static struct cdev dv1394_cdev; | 2149 | static struct cdev dv1394_cdev; |
2150 | static struct file_operations dv1394_fops= | 2150 | static const struct file_operations dv1394_fops= |
2151 | { | 2151 | { |
2152 | .owner = THIS_MODULE, | 2152 | .owner = THIS_MODULE, |
2153 | .poll = dv1394_poll, | 2153 | .poll = dv1394_poll, |
diff --git a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c index 97e5c3dd044d..a95313521985 100644 --- a/drivers/ieee1394/eth1394.c +++ b/drivers/ieee1394/eth1394.c | |||
@@ -43,7 +43,6 @@ | |||
43 | 43 | ||
44 | #include <linux/module.h> | 44 | #include <linux/module.h> |
45 | 45 | ||
46 | #include <linux/sched.h> | ||
47 | #include <linux/kernel.h> | 46 | #include <linux/kernel.h> |
48 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
49 | #include <linux/errno.h> | 48 | #include <linux/errno.h> |
diff --git a/drivers/ieee1394/iso.c b/drivers/ieee1394/iso.c index 08bd15d2a7b6..c6227e51136d 100644 --- a/drivers/ieee1394/iso.c +++ b/drivers/ieee1394/iso.c | |||
@@ -10,7 +10,6 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/pci.h> | 12 | #include <linux/pci.h> |
13 | #include <linux/sched.h> | ||
14 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
15 | 14 | ||
16 | #include "hosts.h" | 15 | #include "hosts.h" |
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 5729e412cc4a..e982d60ac4b7 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -102,7 +102,6 @@ | |||
102 | #include <asm/pgtable.h> | 102 | #include <asm/pgtable.h> |
103 | #include <asm/page.h> | 103 | #include <asm/page.h> |
104 | #include <asm/irq.h> | 104 | #include <asm/irq.h> |
105 | #include <linux/sched.h> | ||
106 | #include <linux/types.h> | 105 | #include <linux/types.h> |
107 | #include <linux/vmalloc.h> | 106 | #include <linux/vmalloc.h> |
108 | #include <linux/init.h> | 107 | #include <linux/init.h> |
diff --git a/drivers/ieee1394/pcilynx.c b/drivers/ieee1394/pcilynx.c index fbb7f14ec509..0742befe9227 100644 --- a/drivers/ieee1394/pcilynx.c +++ b/drivers/ieee1394/pcilynx.c | |||
@@ -1434,6 +1434,7 @@ static int __devinit add_card(struct pci_dev *dev, | |||
1434 | i2c_adapter_data = bit_data; | 1434 | i2c_adapter_data = bit_data; |
1435 | i2c_ad->algo_data = &i2c_adapter_data; | 1435 | i2c_ad->algo_data = &i2c_adapter_data; |
1436 | i2c_adapter_data.data = lynx; | 1436 | i2c_adapter_data.data = lynx; |
1437 | i2c_ad->dev.parent = &dev->dev; | ||
1437 | 1438 | ||
1438 | PRINTD(KERN_DEBUG, lynx->id,"original eeprom control: %d", | 1439 | PRINTD(KERN_DEBUG, lynx->id,"original eeprom control: %d", |
1439 | reg_read(lynx, SERIAL_EEPROM_CONTROL)); | 1440 | reg_read(lynx, SERIAL_EEPROM_CONTROL)); |
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c index 5d08d7450f96..bb897a37d9f7 100644 --- a/drivers/ieee1394/raw1394.c +++ b/drivers/ieee1394/raw1394.c | |||
@@ -3033,7 +3033,7 @@ static struct hpsb_highlevel raw1394_highlevel = { | |||
3033 | }; | 3033 | }; |
3034 | 3034 | ||
3035 | static struct cdev raw1394_cdev; | 3035 | static struct cdev raw1394_cdev; |
3036 | static struct file_operations raw1394_fops = { | 3036 | static const struct file_operations raw1394_fops = { |
3037 | .owner = THIS_MODULE, | 3037 | .owner = THIS_MODULE, |
3038 | .read = raw1394_read, | 3038 | .read = raw1394_read, |
3039 | .write = raw1394_write, | 3039 | .write = raw1394_write, |
diff --git a/drivers/ieee1394/video1394.c b/drivers/ieee1394/video1394.c index f4d1ec00af65..95ca26d75272 100644 --- a/drivers/ieee1394/video1394.c +++ b/drivers/ieee1394/video1394.c | |||
@@ -1277,7 +1277,7 @@ static long video1394_compat_ioctl(struct file *f, unsigned cmd, unsigned long a | |||
1277 | #endif | 1277 | #endif |
1278 | 1278 | ||
1279 | static struct cdev video1394_cdev; | 1279 | static struct cdev video1394_cdev; |
1280 | static struct file_operations video1394_fops= | 1280 | static const struct file_operations video1394_fops= |
1281 | { | 1281 | { |
1282 | .owner = THIS_MODULE, | 1282 | .owner = THIS_MODULE, |
1283 | .unlocked_ioctl = video1394_ioctl, | 1283 | .unlocked_ioctl = video1394_ioctl, |