diff options
Diffstat (limited to 'drivers/net/can/janz-ican3.c')
-rw-r--r-- | drivers/net/can/janz-ican3.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/can/janz-ican3.c b/drivers/net/can/janz-ican3.c index c0bfb0ad3e0d..c4bc1d2e2033 100644 --- a/drivers/net/can/janz-ican3.c +++ b/drivers/net/can/janz-ican3.c | |||
@@ -365,7 +365,7 @@ static int ican3_old_send_msg(struct ican3_dev *mod, struct ican3_msg *msg) | |||
365 | * ICAN3 "new-style" Host Interface Setup | 365 | * ICAN3 "new-style" Host Interface Setup |
366 | */ | 366 | */ |
367 | 367 | ||
368 | static void __devinit ican3_init_new_host_interface(struct ican3_dev *mod) | 368 | static void ican3_init_new_host_interface(struct ican3_dev *mod) |
369 | { | 369 | { |
370 | struct ican3_new_desc desc; | 370 | struct ican3_new_desc desc; |
371 | unsigned long flags; | 371 | unsigned long flags; |
@@ -444,7 +444,7 @@ static void __devinit ican3_init_new_host_interface(struct ican3_dev *mod) | |||
444 | * ICAN3 Fast Host Interface Setup | 444 | * ICAN3 Fast Host Interface Setup |
445 | */ | 445 | */ |
446 | 446 | ||
447 | static void __devinit ican3_init_fast_host_interface(struct ican3_dev *mod) | 447 | static void ican3_init_fast_host_interface(struct ican3_dev *mod) |
448 | { | 448 | { |
449 | struct ican3_fast_desc desc; | 449 | struct ican3_fast_desc desc; |
450 | unsigned long flags; | 450 | unsigned long flags; |
@@ -631,7 +631,7 @@ static int ican3_recv_msg(struct ican3_dev *mod, struct ican3_msg *msg) | |||
631 | * Quick Pre-constructed Messages | 631 | * Quick Pre-constructed Messages |
632 | */ | 632 | */ |
633 | 633 | ||
634 | static int __devinit ican3_msg_connect(struct ican3_dev *mod) | 634 | static int ican3_msg_connect(struct ican3_dev *mod) |
635 | { | 635 | { |
636 | struct ican3_msg msg; | 636 | struct ican3_msg msg; |
637 | 637 | ||
@@ -642,7 +642,7 @@ static int __devinit ican3_msg_connect(struct ican3_dev *mod) | |||
642 | return ican3_send_msg(mod, &msg); | 642 | return ican3_send_msg(mod, &msg); |
643 | } | 643 | } |
644 | 644 | ||
645 | static int __devexit ican3_msg_disconnect(struct ican3_dev *mod) | 645 | static int ican3_msg_disconnect(struct ican3_dev *mod) |
646 | { | 646 | { |
647 | struct ican3_msg msg; | 647 | struct ican3_msg msg; |
648 | 648 | ||
@@ -653,7 +653,7 @@ static int __devexit ican3_msg_disconnect(struct ican3_dev *mod) | |||
653 | return ican3_send_msg(mod, &msg); | 653 | return ican3_send_msg(mod, &msg); |
654 | } | 654 | } |
655 | 655 | ||
656 | static int __devinit ican3_msg_newhostif(struct ican3_dev *mod) | 656 | static int ican3_msg_newhostif(struct ican3_dev *mod) |
657 | { | 657 | { |
658 | struct ican3_msg msg; | 658 | struct ican3_msg msg; |
659 | int ret; | 659 | int ret; |
@@ -674,7 +674,7 @@ static int __devinit ican3_msg_newhostif(struct ican3_dev *mod) | |||
674 | return 0; | 674 | return 0; |
675 | } | 675 | } |
676 | 676 | ||
677 | static int __devinit ican3_msg_fasthostif(struct ican3_dev *mod) | 677 | static int ican3_msg_fasthostif(struct ican3_dev *mod) |
678 | { | 678 | { |
679 | struct ican3_msg msg; | 679 | struct ican3_msg msg; |
680 | unsigned int addr; | 680 | unsigned int addr; |
@@ -707,7 +707,7 @@ static int __devinit ican3_msg_fasthostif(struct ican3_dev *mod) | |||
707 | * Setup the CAN filter to either accept or reject all | 707 | * Setup the CAN filter to either accept or reject all |
708 | * messages from the CAN bus. | 708 | * messages from the CAN bus. |
709 | */ | 709 | */ |
710 | static int __devinit ican3_set_id_filter(struct ican3_dev *mod, bool accept) | 710 | static int ican3_set_id_filter(struct ican3_dev *mod, bool accept) |
711 | { | 711 | { |
712 | struct ican3_msg msg; | 712 | struct ican3_msg msg; |
713 | int ret; | 713 | int ret; |
@@ -1421,7 +1421,7 @@ static int ican3_reset_module(struct ican3_dev *mod) | |||
1421 | return -ETIMEDOUT; | 1421 | return -ETIMEDOUT; |
1422 | } | 1422 | } |
1423 | 1423 | ||
1424 | static void __devexit ican3_shutdown_module(struct ican3_dev *mod) | 1424 | static void ican3_shutdown_module(struct ican3_dev *mod) |
1425 | { | 1425 | { |
1426 | ican3_msg_disconnect(mod); | 1426 | ican3_msg_disconnect(mod); |
1427 | ican3_reset_module(mod); | 1427 | ican3_reset_module(mod); |
@@ -1430,7 +1430,7 @@ static void __devexit ican3_shutdown_module(struct ican3_dev *mod) | |||
1430 | /* | 1430 | /* |
1431 | * Startup an ICAN module, bringing it into fast mode | 1431 | * Startup an ICAN module, bringing it into fast mode |
1432 | */ | 1432 | */ |
1433 | static int __devinit ican3_startup_module(struct ican3_dev *mod) | 1433 | static int ican3_startup_module(struct ican3_dev *mod) |
1434 | { | 1434 | { |
1435 | int ret; | 1435 | int ret; |
1436 | 1436 | ||
@@ -1760,7 +1760,7 @@ static struct attribute_group ican3_sysfs_attr_group = { | |||
1760 | * PCI Subsystem | 1760 | * PCI Subsystem |
1761 | */ | 1761 | */ |
1762 | 1762 | ||
1763 | static int __devinit ican3_probe(struct platform_device *pdev) | 1763 | static int ican3_probe(struct platform_device *pdev) |
1764 | { | 1764 | { |
1765 | struct janz_platform_data *pdata; | 1765 | struct janz_platform_data *pdata; |
1766 | struct net_device *ndev; | 1766 | struct net_device *ndev; |
@@ -1898,7 +1898,7 @@ out_return: | |||
1898 | return ret; | 1898 | return ret; |
1899 | } | 1899 | } |
1900 | 1900 | ||
1901 | static int __devexit ican3_remove(struct platform_device *pdev) | 1901 | static int ican3_remove(struct platform_device *pdev) |
1902 | { | 1902 | { |
1903 | struct net_device *ndev = platform_get_drvdata(pdev); | 1903 | struct net_device *ndev = platform_get_drvdata(pdev); |
1904 | struct ican3_dev *mod = netdev_priv(ndev); | 1904 | struct ican3_dev *mod = netdev_priv(ndev); |
@@ -1927,7 +1927,7 @@ static struct platform_driver ican3_driver = { | |||
1927 | .owner = THIS_MODULE, | 1927 | .owner = THIS_MODULE, |
1928 | }, | 1928 | }, |
1929 | .probe = ican3_probe, | 1929 | .probe = ican3_probe, |
1930 | .remove = __devexit_p(ican3_remove), | 1930 | .remove = ican3_remove, |
1931 | }; | 1931 | }; |
1932 | 1932 | ||
1933 | module_platform_driver(ican3_driver); | 1933 | module_platform_driver(ican3_driver); |