aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/neterion/vxge/vxge-main.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:18 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:44 -0500
commit3a036ce5c6fdd787d3146c639871668996221c0d (patch)
tree46e40e72398739af4d5ea081bdad1112db9ebac7 /drivers/net/ethernet/neterion/vxge/vxge-main.c
parent6980cbe4a6dbb3d7871e99a3cbc74a572d14d327 (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>
Diffstat (limited to 'drivers/net/ethernet/neterion/vxge/vxge-main.c')
-rw-r--r--drivers/net/ethernet/neterion/vxge/vxge-main.c16
1 files changed, 8 insertions, 8 deletions
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
3374static int __devinit vxge_device_register(struct __vxge_hw_device *hldev, 3374static 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 */
3675static int __devinit vxge_config_vpaths( 3675static 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 */
3862static void __devinit vxge_device_config_init( 3862static 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
3915static void __devinit vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask) 3915static 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
4272static int __devinit is_sriov_initialized(struct pci_dev *pdev) 4272static 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 */
4303static int __devinit 4303static int
4304vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) 4304vxge_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 */
4767static void __devexit vxge_remove(struct pci_dev *pdev) 4767static 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,