diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:55 -0500 |
commit | f73d12bd298f9614d8600326e9bd1f7871fcde4b (patch) | |
tree | 736c67ac825f2576b6d3a703defd1859e13787eb /drivers/net/ethernet/sun/cassini.c | |
parent | f48a3c2af87960e3d497b518a3253337a18016db (diff) |
net/sun: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/sun/cassini.c')
-rw-r--r-- | drivers/net/ethernet/sun/cassini.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c index c8251be104d6..85f971fe2611 100644 --- a/drivers/net/ethernet/sun/cassini.c +++ b/drivers/net/ethernet/sun/cassini.c | |||
@@ -185,7 +185,7 @@ | |||
185 | #define CAS_RESET_SPARE 3 | 185 | #define CAS_RESET_SPARE 3 |
186 | #endif | 186 | #endif |
187 | 187 | ||
188 | static char version[] __devinitdata = | 188 | static char version[] = |
189 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 189 | DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
190 | 190 | ||
191 | static int cassini_debug = -1; /* -1 == use CAS_DEF_MSG_ENABLE as value */ | 191 | static int cassini_debug = -1; /* -1 == use CAS_DEF_MSG_ENABLE as value */ |
@@ -222,7 +222,7 @@ static int link_transition_timeout; | |||
222 | 222 | ||
223 | 223 | ||
224 | 224 | ||
225 | static u16 link_modes[] __devinitdata = { | 225 | static u16 link_modes[] = { |
226 | BMCR_ANENABLE, /* 0 : autoneg */ | 226 | BMCR_ANENABLE, /* 0 : autoneg */ |
227 | 0, /* 1 : 10bt half duplex */ | 227 | 0, /* 1 : 10bt half duplex */ |
228 | BMCR_SPEED100, /* 2 : 100bt half duplex */ | 228 | BMCR_SPEED100, /* 2 : 100bt half duplex */ |
@@ -4820,7 +4820,7 @@ static int cas_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
4820 | * only subordinate device and we can tweak the bridge settings to | 4820 | * only subordinate device and we can tweak the bridge settings to |
4821 | * reflect that fact. | 4821 | * reflect that fact. |
4822 | */ | 4822 | */ |
4823 | static void __devinit cas_program_bridge(struct pci_dev *cas_pdev) | 4823 | static void cas_program_bridge(struct pci_dev *cas_pdev) |
4824 | { | 4824 | { |
4825 | struct pci_dev *pdev = cas_pdev->bus->self; | 4825 | struct pci_dev *pdev = cas_pdev->bus->self; |
4826 | u32 val; | 4826 | u32 val; |
@@ -4916,7 +4916,7 @@ static const struct net_device_ops cas_netdev_ops = { | |||
4916 | #endif | 4916 | #endif |
4917 | }; | 4917 | }; |
4918 | 4918 | ||
4919 | static int __devinit cas_init_one(struct pci_dev *pdev, | 4919 | static int cas_init_one(struct pci_dev *pdev, |
4920 | const struct pci_device_id *ent) | 4920 | const struct pci_device_id *ent) |
4921 | { | 4921 | { |
4922 | static int cas_version_printed = 0; | 4922 | static int cas_version_printed = 0; |
@@ -5175,7 +5175,7 @@ err_out_disable_pdev: | |||
5175 | return -ENODEV; | 5175 | return -ENODEV; |
5176 | } | 5176 | } |
5177 | 5177 | ||
5178 | static void __devexit cas_remove_one(struct pci_dev *pdev) | 5178 | static void cas_remove_one(struct pci_dev *pdev) |
5179 | { | 5179 | { |
5180 | struct net_device *dev = pci_get_drvdata(pdev); | 5180 | struct net_device *dev = pci_get_drvdata(pdev); |
5181 | struct cas *cp; | 5181 | struct cas *cp; |
@@ -5273,7 +5273,7 @@ static struct pci_driver cas_driver = { | |||
5273 | .name = DRV_MODULE_NAME, | 5273 | .name = DRV_MODULE_NAME, |
5274 | .id_table = cas_pci_tbl, | 5274 | .id_table = cas_pci_tbl, |
5275 | .probe = cas_init_one, | 5275 | .probe = cas_init_one, |
5276 | .remove = __devexit_p(cas_remove_one), | 5276 | .remove = cas_remove_one, |
5277 | #ifdef CONFIG_PM | 5277 | #ifdef CONFIG_PM |
5278 | .suspend = cas_suspend, | 5278 | .suspend = cas_suspend, |
5279 | .resume = cas_resume | 5279 | .resume = cas_resume |