ibm/emac: 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
e11787a231
commit
fe17dc1e2b
@@ -33,7 +33,7 @@
|
||||
|
||||
static int mal_count;
|
||||
|
||||
int __devinit mal_register_commac(struct mal_instance *mal,
|
||||
int mal_register_commac(struct mal_instance *mal,
|
||||
struct mal_commac *commac)
|
||||
{
|
||||
unsigned long flags;
|
||||
@@ -517,7 +517,7 @@ void *mal_dump_regs(struct mal_instance *mal, void *buf)
|
||||
return regs + 1;
|
||||
}
|
||||
|
||||
static int __devinit mal_probe(struct platform_device *ofdev)
|
||||
static int mal_probe(struct platform_device *ofdev)
|
||||
{
|
||||
struct mal_instance *mal;
|
||||
int err = 0, i, bd_size;
|
||||
@@ -729,7 +729,7 @@ static int __devinit mal_probe(struct platform_device *ofdev)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit mal_remove(struct platform_device *ofdev)
|
||||
static int mal_remove(struct platform_device *ofdev)
|
||||
{
|
||||
struct mal_instance *mal = dev_get_drvdata(&ofdev->dev);
|
||||
|
||||
|
Reference in New Issue
Block a user