diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/3c509.c | 1 | ||||
-rw-r--r-- | drivers/net/3c59x.c | 1 | ||||
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 2 | ||||
-rw-r--r-- | drivers/net/ne3210.c | 1 | ||||
-rw-r--r-- | drivers/net/tulip/de4x5.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c | 2 |
6 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 59c33925be62..b936373ab2a5 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
@@ -225,6 +225,7 @@ static struct eisa_device_id el3_eisa_ids[] = { | |||
225 | { "TCM5095" }, | 225 | { "TCM5095" }, |
226 | { "" } | 226 | { "" } |
227 | }; | 227 | }; |
228 | MODULE_DEVICE_TABLE(eisa, el3_eisa_ids); | ||
228 | 229 | ||
229 | static int el3_eisa_probe (struct device *device); | 230 | static int el3_eisa_probe (struct device *device); |
230 | 231 | ||
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index af301f09d674..df42e28cc80f 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -851,6 +851,7 @@ static struct eisa_device_id vortex_eisa_ids[] = { | |||
851 | { "TCM5970", CH_3C597 }, | 851 | { "TCM5970", CH_3C597 }, |
852 | { "" } | 852 | { "" } |
853 | }; | 853 | }; |
854 | MODULE_DEVICE_TABLE(eisa, vortex_eisa_ids); | ||
854 | 855 | ||
855 | static int vortex_eisa_probe(struct device *device); | 856 | static int vortex_eisa_probe(struct device *device); |
856 | static int vortex_eisa_remove(struct device *device); | 857 | static int vortex_eisa_remove(struct device *device); |
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index a82a4ba8de4f..c37f0bc4c7f9 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h | |||
@@ -58,7 +58,7 @@ typedef void irqreturn_t; | |||
58 | 58 | ||
59 | /* PDE() introduced in 2.5.4 */ | 59 | /* PDE() introduced in 2.5.4 */ |
60 | #ifdef CONFIG_PROC_FS | 60 | #ifdef CONFIG_PROC_FS |
61 | #define PDE(inode) ((inode)->u.generic_ip) | 61 | #define PDE(inode) ((inode)->i_private) |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | /* irda crc16 calculation exported in 2.5.42 */ | 64 | /* irda crc16 calculation exported in 2.5.42 */ |
diff --git a/drivers/net/ne3210.c b/drivers/net/ne3210.c index 0fa8e4d22769..d66328975425 100644 --- a/drivers/net/ne3210.c +++ b/drivers/net/ne3210.c | |||
@@ -343,6 +343,7 @@ static struct eisa_device_id ne3210_ids[] = { | |||
343 | { "NVL1801" }, | 343 | { "NVL1801" }, |
344 | { "" }, | 344 | { "" }, |
345 | }; | 345 | }; |
346 | MODULE_DEVICE_TABLE(eisa, ne3210_ids); | ||
346 | 347 | ||
347 | static struct eisa_driver ne3210_eisa_driver = { | 348 | static struct eisa_driver ne3210_eisa_driver = { |
348 | .id_table = ne3210_ids, | 349 | .id_table = ne3210_ids, |
diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index e661d0a9cc64..fb5fa7d68888 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c | |||
@@ -2114,6 +2114,7 @@ static struct eisa_device_id de4x5_eisa_ids[] = { | |||
2114 | { "DEC4250", 0 }, /* 0 is the board name index... */ | 2114 | { "DEC4250", 0 }, /* 0 is the board name index... */ |
2115 | { "" } | 2115 | { "" } |
2116 | }; | 2116 | }; |
2117 | MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids); | ||
2117 | 2118 | ||
2118 | static struct eisa_driver de4x5_eisa_driver = { | 2119 | static struct eisa_driver de4x5_eisa_driver = { |
2119 | .id_table = de4x5_eisa_ids, | 2120 | .id_table = de4x5_eisa_ids, |
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c index 923275ea0789..b9df06a06ea9 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c | |||
@@ -54,7 +54,7 @@ static ssize_t write_file_dummy(struct file *file, const char __user *buf, | |||
54 | 54 | ||
55 | static int open_file_generic(struct inode *inode, struct file *file) | 55 | static int open_file_generic(struct inode *inode, struct file *file) |
56 | { | 56 | { |
57 | file->private_data = inode->u.generic_ip; | 57 | file->private_data = inode->i_private; |
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||