diff options
Diffstat (limited to 'drivers/net/can/cc770/cc770_isa.c')
-rw-r--r-- | drivers/net/can/cc770/cc770_isa.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/can/cc770/cc770_isa.c b/drivers/net/can/cc770/cc770_isa.c index 9f3a25ccd665..8eaaac81f320 100644 --- a/drivers/net/can/cc770/cc770_isa.c +++ b/drivers/net/can/cc770/cc770_isa.c | |||
@@ -75,12 +75,12 @@ MODULE_LICENSE("GPL v2"); | |||
75 | 75 | ||
76 | static unsigned long port[MAXDEV]; | 76 | static unsigned long port[MAXDEV]; |
77 | static unsigned long mem[MAXDEV]; | 77 | static unsigned long mem[MAXDEV]; |
78 | static int __devinitdata irq[MAXDEV]; | 78 | static int irq[MAXDEV]; |
79 | static int __devinitdata clk[MAXDEV]; | 79 | static int clk[MAXDEV]; |
80 | static u8 __devinitdata cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; | 80 | static u8 cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; |
81 | static u8 __devinitdata cor[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; | 81 | static u8 cor[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; |
82 | static u8 __devinitdata bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; | 82 | static u8 bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; |
83 | static int __devinitdata indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; | 83 | static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; |
84 | 84 | ||
85 | module_param_array(port, ulong, NULL, S_IRUGO); | 85 | module_param_array(port, ulong, NULL, S_IRUGO); |
86 | MODULE_PARM_DESC(port, "I/O port number"); | 86 | MODULE_PARM_DESC(port, "I/O port number"); |
@@ -166,7 +166,7 @@ static void cc770_isa_port_write_reg_indirect(const struct cc770_priv *priv, | |||
166 | spin_unlock_irqrestore(&cc770_isa_port_lock, flags); | 166 | spin_unlock_irqrestore(&cc770_isa_port_lock, flags); |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __devinit cc770_isa_probe(struct platform_device *pdev) | 169 | static int cc770_isa_probe(struct platform_device *pdev) |
170 | { | 170 | { |
171 | struct net_device *dev; | 171 | struct net_device *dev; |
172 | struct cc770_priv *priv; | 172 | struct cc770_priv *priv; |
@@ -291,7 +291,7 @@ static int __devinit cc770_isa_probe(struct platform_device *pdev) | |||
291 | return err; | 291 | return err; |
292 | } | 292 | } |
293 | 293 | ||
294 | static int __devexit cc770_isa_remove(struct platform_device *pdev) | 294 | static int cc770_isa_remove(struct platform_device *pdev) |
295 | { | 295 | { |
296 | struct net_device *dev = dev_get_drvdata(&pdev->dev); | 296 | struct net_device *dev = dev_get_drvdata(&pdev->dev); |
297 | struct cc770_priv *priv = netdev_priv(dev); | 297 | struct cc770_priv *priv = netdev_priv(dev); |
@@ -316,7 +316,7 @@ static int __devexit cc770_isa_remove(struct platform_device *pdev) | |||
316 | 316 | ||
317 | static struct platform_driver cc770_isa_driver = { | 317 | static struct platform_driver cc770_isa_driver = { |
318 | .probe = cc770_isa_probe, | 318 | .probe = cc770_isa_probe, |
319 | .remove = __devexit_p(cc770_isa_remove), | 319 | .remove = cc770_isa_remove, |
320 | .driver = { | 320 | .driver = { |
321 | .name = KBUILD_MODNAME, | 321 | .name = KBUILD_MODNAME, |
322 | .owner = THIS_MODULE, | 322 | .owner = THIS_MODULE, |