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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
f48a3c2af8
commit
f73d12bd29
@@ -77,7 +77,7 @@
|
||||
#define DRV_VERSION "1.0"
|
||||
#define DRV_AUTHOR "David S. Miller <davem@redhat.com>"
|
||||
|
||||
static char version[] __devinitdata =
|
||||
static char version[] =
|
||||
DRV_NAME ".c:v" DRV_VERSION " " DRV_AUTHOR "\n";
|
||||
|
||||
MODULE_AUTHOR(DRV_AUTHOR);
|
||||
@@ -2763,7 +2763,7 @@ static void get_gem_mac_nonobp(struct pci_dev *pdev, unsigned char *dev_addr)
|
||||
}
|
||||
#endif /* not Sparc and not PPC */
|
||||
|
||||
static int __devinit gem_get_device_address(struct gem *gp)
|
||||
static int gem_get_device_address(struct gem *gp)
|
||||
{
|
||||
#if defined(CONFIG_SPARC) || defined(CONFIG_PPC_PMAC)
|
||||
struct net_device *dev = gp->dev;
|
||||
@@ -2827,7 +2827,7 @@ static const struct net_device_ops gem_netdev_ops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __devinit gem_init_one(struct pci_dev *pdev,
|
||||
static int gem_init_one(struct pci_dev *pdev,
|
||||
const struct pci_device_id *ent)
|
||||
{
|
||||
unsigned long gemreg_base, gemreg_len;
|
||||
|
Reference in New Issue
Block a user