aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r--drivers/net/gianfar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index c6f6d3b7f4df..f7141865869d 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -2397,9 +2397,6 @@ static irqreturn_t gfar_error(int irq, void *dev_id)
2397 return IRQ_HANDLED; 2397 return IRQ_HANDLED;
2398} 2398}
2399 2399
2400/* work with hotplug and coldplug */
2401MODULE_ALIAS("platform:fsl-gianfar");
2402
2403static struct of_device_id gfar_match[] = 2400static struct of_device_id gfar_match[] =
2404{ 2401{
2405 { 2402 {
@@ -2408,6 +2405,7 @@ static struct of_device_id gfar_match[] =
2408 }, 2405 },
2409 {}, 2406 {},
2410}; 2407};
2408MODULE_DEVICE_TABLE(of, gfar_match);
2411 2409
2412/* Structure for a device driver */ 2410/* Structure for a device driver */
2413static struct of_platform_driver gfar_driver = { 2411static struct of_platform_driver gfar_driver = {