diff options
Diffstat (limited to 'drivers/net/can/sja1000/tscan1.c')
| -rw-r--r-- | drivers/net/can/sja1000/tscan1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/can/sja1000/tscan1.c b/drivers/net/can/sja1000/tscan1.c index 9756099a883a..76513dd780c7 100644 --- a/drivers/net/can/sja1000/tscan1.c +++ b/drivers/net/can/sja1000/tscan1.c | |||
| @@ -71,7 +71,7 @@ MODULE_LICENSE("GPL"); | |||
| 71 | #define TSCAN1_SJA1000_XTAL 16000000 | 71 | #define TSCAN1_SJA1000_XTAL 16000000 |
| 72 | 72 | ||
| 73 | /* SJA1000 IO base addresses */ | 73 | /* SJA1000 IO base addresses */ |
| 74 | static const unsigned short tscan1_sja1000_addresses[] __devinitconst = { | 74 | static const unsigned short tscan1_sja1000_addresses[] = { |
| 75 | 0x100, 0x120, 0x180, 0x1a0, 0x200, 0x240, 0x280, 0x320 | 75 | 0x100, 0x120, 0x180, 0x1a0, 0x200, 0x240, 0x280, 0x320 |
| 76 | }; | 76 | }; |
| 77 | 77 | ||
| @@ -88,7 +88,7 @@ static void tscan1_write(const struct sja1000_priv *priv, int reg, u8 val) | |||
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | /* Probe for a TS-CAN1 board with JP2:JP1 jumper setting ID */ | 90 | /* Probe for a TS-CAN1 board with JP2:JP1 jumper setting ID */ |
| 91 | static int __devinit tscan1_probe(struct device *dev, unsigned id) | 91 | static int tscan1_probe(struct device *dev, unsigned id) |
| 92 | { | 92 | { |
| 93 | struct net_device *netdev; | 93 | struct net_device *netdev; |
| 94 | struct sja1000_priv *priv; | 94 | struct sja1000_priv *priv; |
| @@ -171,7 +171,7 @@ static int __devinit tscan1_probe(struct device *dev, unsigned id) | |||
| 171 | return -ENXIO; | 171 | return -ENXIO; |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | static int __devexit tscan1_remove(struct device *dev, unsigned id /*unused*/) | 174 | static int tscan1_remove(struct device *dev, unsigned id /*unused*/) |
| 175 | { | 175 | { |
| 176 | struct net_device *netdev; | 176 | struct net_device *netdev; |
| 177 | struct sja1000_priv *priv; | 177 | struct sja1000_priv *priv; |
| @@ -197,7 +197,7 @@ static int __devexit tscan1_remove(struct device *dev, unsigned id /*unused*/) | |||
| 197 | 197 | ||
| 198 | static struct isa_driver tscan1_isa_driver = { | 198 | static struct isa_driver tscan1_isa_driver = { |
| 199 | .probe = tscan1_probe, | 199 | .probe = tscan1_probe, |
| 200 | .remove = __devexit_p(tscan1_remove), | 200 | .remove = tscan1_remove, |
| 201 | .driver = { | 201 | .driver = { |
| 202 | .name = "tscan1", | 202 | .name = "tscan1", |
| 203 | }, | 203 | }, |
