diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:44 -0500 |
commit | 3a036ce5c6fdd787d3146c639871668996221c0d (patch) | |
tree | 46e40e72398739af4d5ea081bdad1112db9ebac7 | |
parent | 6980cbe4a6dbb3d7871e99a3cbc74a572d14d327 (diff) |
vxge/s2io: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/ethernet/neterion/s2io.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/s2io.h | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.h | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-main.c | 16 |
5 files changed, 19 insertions, 19 deletions
diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index c98decb19ce8..3a010e356661 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c | |||
@@ -494,7 +494,7 @@ static struct pci_driver s2io_driver = { | |||
494 | .name = "S2IO", | 494 | .name = "S2IO", |
495 | .id_table = s2io_tbl, | 495 | .id_table = s2io_tbl, |
496 | .probe = s2io_init_nic, | 496 | .probe = s2io_init_nic, |
497 | .remove = __devexit_p(s2io_rem_nic), | 497 | .remove = s2io_rem_nic, |
498 | .err_handler = &s2io_err_handler, | 498 | .err_handler = &s2io_err_handler, |
499 | }; | 499 | }; |
500 | 500 | ||
@@ -7702,7 +7702,7 @@ static const struct net_device_ops s2io_netdev_ops = { | |||
7702 | * returns 0 on success and negative on failure. | 7702 | * returns 0 on success and negative on failure. |
7703 | */ | 7703 | */ |
7704 | 7704 | ||
7705 | static int __devinit | 7705 | static int |
7706 | s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre) | 7706 | s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre) |
7707 | { | 7707 | { |
7708 | struct s2io_nic *sp; | 7708 | struct s2io_nic *sp; |
@@ -8200,7 +8200,7 @@ mem_alloc_failed: | |||
8200 | * from memory. | 8200 | * from memory. |
8201 | */ | 8201 | */ |
8202 | 8202 | ||
8203 | static void __devexit s2io_rem_nic(struct pci_dev *pdev) | 8203 | static void s2io_rem_nic(struct pci_dev *pdev) |
8204 | { | 8204 | { |
8205 | struct net_device *dev = pci_get_drvdata(pdev); | 8205 | struct net_device *dev = pci_get_drvdata(pdev); |
8206 | struct s2io_nic *sp; | 8206 | struct s2io_nic *sp; |
diff --git a/drivers/net/ethernet/neterion/s2io.h b/drivers/net/ethernet/neterion/s2io.h index d5596926a1ef..032f9b6d850d 100644 --- a/drivers/net/ethernet/neterion/s2io.h +++ b/drivers/net/ethernet/neterion/s2io.h | |||
@@ -1075,9 +1075,9 @@ static inline void SPECIAL_REG_WRITE(u64 val, void __iomem *addr, int order) | |||
1075 | /* | 1075 | /* |
1076 | * Prototype declaration. | 1076 | * Prototype declaration. |
1077 | */ | 1077 | */ |
1078 | static int __devinit s2io_init_nic(struct pci_dev *pdev, | 1078 | static int s2io_init_nic(struct pci_dev *pdev, |
1079 | const struct pci_device_id *pre); | 1079 | const struct pci_device_id *pre); |
1080 | static void __devexit s2io_rem_nic(struct pci_dev *pdev); | 1080 | static void s2io_rem_nic(struct pci_dev *pdev); |
1081 | static int init_shared_mem(struct s2io_nic *sp); | 1081 | static int init_shared_mem(struct s2io_nic *sp); |
1082 | static void free_shared_mem(struct s2io_nic *sp); | 1082 | static void free_shared_mem(struct s2io_nic *sp); |
1083 | static int init_nic(struct s2io_nic *nic); | 1083 | static int init_nic(struct s2io_nic *nic); |
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c index c2e420a84d22..fbe5363cb89c 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-config.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c | |||
@@ -993,7 +993,7 @@ exit: | |||
993 | * for the driver, FW version information, and the first mac address for | 993 | * for the driver, FW version information, and the first mac address for |
994 | * each vpath | 994 | * each vpath |
995 | */ | 995 | */ |
996 | enum vxge_hw_status __devinit | 996 | enum vxge_hw_status |
997 | vxge_hw_device_hw_info_get(void __iomem *bar0, | 997 | vxge_hw_device_hw_info_get(void __iomem *bar0, |
998 | struct vxge_hw_device_hw_info *hw_info) | 998 | struct vxge_hw_device_hw_info *hw_info) |
999 | { | 999 | { |
@@ -1310,7 +1310,7 @@ __vxge_hw_device_config_check(struct vxge_hw_device_config *new_config) | |||
1310 | * When done, the driver allocates sizeof(struct __vxge_hw_device) bytes for HW | 1310 | * When done, the driver allocates sizeof(struct __vxge_hw_device) bytes for HW |
1311 | * to enable the latter to perform Titan hardware initialization. | 1311 | * to enable the latter to perform Titan hardware initialization. |
1312 | */ | 1312 | */ |
1313 | enum vxge_hw_status __devinit | 1313 | enum vxge_hw_status |
1314 | vxge_hw_device_initialize( | 1314 | vxge_hw_device_initialize( |
1315 | struct __vxge_hw_device **devh, | 1315 | struct __vxge_hw_device **devh, |
1316 | struct vxge_hw_device_attr *attr, | 1316 | struct vxge_hw_device_attr *attr, |
@@ -2917,7 +2917,7 @@ exit: | |||
2917 | * vxge_hw_device_config_default_get - Initialize device config with defaults. | 2917 | * vxge_hw_device_config_default_get - Initialize device config with defaults. |
2918 | * Initialize Titan device config with default values. | 2918 | * Initialize Titan device config with default values. |
2919 | */ | 2919 | */ |
2920 | enum vxge_hw_status __devinit | 2920 | enum vxge_hw_status |
2921 | vxge_hw_device_config_default_get(struct vxge_hw_device_config *device_config) | 2921 | vxge_hw_device_config_default_get(struct vxge_hw_device_config *device_config) |
2922 | { | 2922 | { |
2923 | u32 i; | 2923 | u32 i; |
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.h b/drivers/net/ethernet/neterion/vxge/vxge-config.h index 9e0c1eed5dc5..6ce4412fcc1a 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-config.h +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.h | |||
@@ -1846,11 +1846,11 @@ struct vxge_hw_vpath_attr { | |||
1846 | struct vxge_hw_fifo_attr fifo_attr; | 1846 | struct vxge_hw_fifo_attr fifo_attr; |
1847 | }; | 1847 | }; |
1848 | 1848 | ||
1849 | enum vxge_hw_status __devinit vxge_hw_device_hw_info_get( | 1849 | enum vxge_hw_status vxge_hw_device_hw_info_get( |
1850 | void __iomem *bar0, | 1850 | void __iomem *bar0, |
1851 | struct vxge_hw_device_hw_info *hw_info); | 1851 | struct vxge_hw_device_hw_info *hw_info); |
1852 | 1852 | ||
1853 | enum vxge_hw_status __devinit vxge_hw_device_config_default_get( | 1853 | enum vxge_hw_status vxge_hw_device_config_default_get( |
1854 | struct vxge_hw_device_config *device_config); | 1854 | struct vxge_hw_device_config *device_config); |
1855 | 1855 | ||
1856 | /** | 1856 | /** |
@@ -1877,7 +1877,7 @@ u16 vxge_hw_device_link_width_get(struct __vxge_hw_device *devh); | |||
1877 | const u8 * | 1877 | const u8 * |
1878 | vxge_hw_device_product_name_get(struct __vxge_hw_device *devh); | 1878 | vxge_hw_device_product_name_get(struct __vxge_hw_device *devh); |
1879 | 1879 | ||
1880 | enum vxge_hw_status __devinit vxge_hw_device_initialize( | 1880 | enum vxge_hw_status vxge_hw_device_initialize( |
1881 | struct __vxge_hw_device **devh, | 1881 | struct __vxge_hw_device **devh, |
1882 | struct vxge_hw_device_attr *attr, | 1882 | struct vxge_hw_device_attr *attr, |
1883 | struct vxge_hw_device_config *device_config); | 1883 | struct vxge_hw_device_config *device_config); |
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c index 3e5b7509502c..bb5770fc6503 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-main.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c | |||
@@ -3371,7 +3371,7 @@ static const struct net_device_ops vxge_netdev_ops = { | |||
3371 | #endif | 3371 | #endif |
3372 | }; | 3372 | }; |
3373 | 3373 | ||
3374 | static int __devinit vxge_device_register(struct __vxge_hw_device *hldev, | 3374 | static int vxge_device_register(struct __vxge_hw_device *hldev, |
3375 | struct vxge_config *config, | 3375 | struct vxge_config *config, |
3376 | int high_dma, int no_of_vpath, | 3376 | int high_dma, int no_of_vpath, |
3377 | struct vxgedev **vdev_out) | 3377 | struct vxgedev **vdev_out) |
@@ -3672,7 +3672,7 @@ static void verify_bandwidth(void) | |||
3672 | /* | 3672 | /* |
3673 | * Vpath configuration | 3673 | * Vpath configuration |
3674 | */ | 3674 | */ |
3675 | static int __devinit vxge_config_vpaths( | 3675 | static int vxge_config_vpaths( |
3676 | struct vxge_hw_device_config *device_config, | 3676 | struct vxge_hw_device_config *device_config, |
3677 | u64 vpath_mask, struct vxge_config *config_param) | 3677 | u64 vpath_mask, struct vxge_config *config_param) |
3678 | { | 3678 | { |
@@ -3859,7 +3859,7 @@ static int __devinit vxge_config_vpaths( | |||
3859 | } | 3859 | } |
3860 | 3860 | ||
3861 | /* initialize device configuratrions */ | 3861 | /* initialize device configuratrions */ |
3862 | static void __devinit vxge_device_config_init( | 3862 | static void vxge_device_config_init( |
3863 | struct vxge_hw_device_config *device_config, | 3863 | struct vxge_hw_device_config *device_config, |
3864 | int *intr_type) | 3864 | int *intr_type) |
3865 | { | 3865 | { |
@@ -3912,7 +3912,7 @@ static void __devinit vxge_device_config_init( | |||
3912 | device_config->rth_it_type); | 3912 | device_config->rth_it_type); |
3913 | } | 3913 | } |
3914 | 3914 | ||
3915 | static void __devinit vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask) | 3915 | static void vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask) |
3916 | { | 3916 | { |
3917 | int i; | 3917 | int i; |
3918 | 3918 | ||
@@ -4269,7 +4269,7 @@ static int vxge_probe_fw_update(struct vxgedev *vdev) | |||
4269 | return ret; | 4269 | return ret; |
4270 | } | 4270 | } |
4271 | 4271 | ||
4272 | static int __devinit is_sriov_initialized(struct pci_dev *pdev) | 4272 | static int is_sriov_initialized(struct pci_dev *pdev) |
4273 | { | 4273 | { |
4274 | int pos; | 4274 | int pos; |
4275 | u16 ctrl; | 4275 | u16 ctrl; |
@@ -4300,7 +4300,7 @@ static const struct vxge_hw_uld_cbs vxge_callbacks = { | |||
4300 | * returns 0 on success and negative on failure. | 4300 | * returns 0 on success and negative on failure. |
4301 | * | 4301 | * |
4302 | */ | 4302 | */ |
4303 | static int __devinit | 4303 | static int |
4304 | vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) | 4304 | vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) |
4305 | { | 4305 | { |
4306 | struct __vxge_hw_device *hldev; | 4306 | struct __vxge_hw_device *hldev; |
@@ -4764,7 +4764,7 @@ _exit0: | |||
4764 | * Description: This function is called by the Pci subsystem to release a | 4764 | * Description: This function is called by the Pci subsystem to release a |
4765 | * PCI device and free up all resource held up by the device. | 4765 | * PCI device and free up all resource held up by the device. |
4766 | */ | 4766 | */ |
4767 | static void __devexit vxge_remove(struct pci_dev *pdev) | 4767 | static void vxge_remove(struct pci_dev *pdev) |
4768 | { | 4768 | { |
4769 | struct __vxge_hw_device *hldev; | 4769 | struct __vxge_hw_device *hldev; |
4770 | struct vxgedev *vdev; | 4770 | struct vxgedev *vdev; |
@@ -4809,7 +4809,7 @@ static struct pci_driver vxge_driver = { | |||
4809 | .name = VXGE_DRIVER_NAME, | 4809 | .name = VXGE_DRIVER_NAME, |
4810 | .id_table = vxge_id_table, | 4810 | .id_table = vxge_id_table, |
4811 | .probe = vxge_probe, | 4811 | .probe = vxge_probe, |
4812 | .remove = __devexit_p(vxge_remove), | 4812 | .remove = vxge_remove, |
4813 | #ifdef CONFIG_PM | 4813 | #ifdef CONFIG_PM |
4814 | .suspend = vxge_pm_suspend, | 4814 | .suspend = vxge_pm_suspend, |
4815 | .resume = vxge_pm_resume, | 4815 | .resume = vxge_pm_resume, |