aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/cc770/cc770_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/cc770/cc770_isa.c')
-rw-r--r--drivers/net/can/cc770/cc770_isa.c18
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
76static unsigned long port[MAXDEV]; 76static unsigned long port[MAXDEV];
77static unsigned long mem[MAXDEV]; 77static unsigned long mem[MAXDEV];
78static int __devinitdata irq[MAXDEV]; 78static int irq[MAXDEV];
79static int __devinitdata clk[MAXDEV]; 79static int clk[MAXDEV];
80static u8 __devinitdata cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 80static u8 cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff};
81static u8 __devinitdata cor[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 81static u8 cor[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff};
82static u8 __devinitdata bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 82static u8 bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff};
83static int __devinitdata indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; 83static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1};
84 84
85module_param_array(port, ulong, NULL, S_IRUGO); 85module_param_array(port, ulong, NULL, S_IRUGO);
86MODULE_PARM_DESC(port, "I/O port number"); 86MODULE_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
169static int __devinit cc770_isa_probe(struct platform_device *pdev) 169static 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
294static int __devexit cc770_isa_remove(struct platform_device *pdev) 294static 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
317static struct platform_driver cc770_isa_driver = { 317static 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,