diff options
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index c8c3df737d73..b917616bf6f1 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -2001,12 +2001,16 @@ static irqreturn_t gfar_error(int irq, void *dev_id) | |||
2001 | return IRQ_HANDLED; | 2001 | return IRQ_HANDLED; |
2002 | } | 2002 | } |
2003 | 2003 | ||
2004 | /* work with hotplug and coldplug */ | ||
2005 | MODULE_ALIAS("platform:fsl-gianfar"); | ||
2006 | |||
2004 | /* Structure for a device driver */ | 2007 | /* Structure for a device driver */ |
2005 | static struct platform_driver gfar_driver = { | 2008 | static struct platform_driver gfar_driver = { |
2006 | .probe = gfar_probe, | 2009 | .probe = gfar_probe, |
2007 | .remove = gfar_remove, | 2010 | .remove = gfar_remove, |
2008 | .driver = { | 2011 | .driver = { |
2009 | .name = "fsl-gianfar", | 2012 | .name = "fsl-gianfar", |
2013 | .owner = THIS_MODULE, | ||
2010 | }, | 2014 | }, |
2011 | }; | 2015 | }; |
2012 | 2016 | ||