diff options
Diffstat (limited to 'drivers/net/ethernet/smsc')
-rw-r--r-- | drivers/net/ethernet/smsc/smc91x.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 022b45bc14ff..a670d23d9340 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c | |||
@@ -2386,8 +2386,6 @@ static const struct of_device_id smc91x_match[] = { | |||
2386 | {}, | 2386 | {}, |
2387 | }; | 2387 | }; |
2388 | MODULE_DEVICE_TABLE(of, smc91x_match); | 2388 | MODULE_DEVICE_TABLE(of, smc91x_match); |
2389 | #else | ||
2390 | #define smc91x_match NULL | ||
2391 | #endif | 2389 | #endif |
2392 | 2390 | ||
2393 | static struct dev_pm_ops smc_drv_pm_ops = { | 2391 | static struct dev_pm_ops smc_drv_pm_ops = { |
@@ -2402,7 +2400,7 @@ static struct platform_driver smc_driver = { | |||
2402 | .name = CARDNAME, | 2400 | .name = CARDNAME, |
2403 | .owner = THIS_MODULE, | 2401 | .owner = THIS_MODULE, |
2404 | .pm = &smc_drv_pm_ops, | 2402 | .pm = &smc_drv_pm_ops, |
2405 | .of_match_table = smc91x_match, | 2403 | .of_match_table = of_match_ptr(smc91x_match), |
2406 | }, | 2404 | }, |
2407 | }; | 2405 | }; |
2408 | 2406 | ||