diff options
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_emac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c index fce89a0ab06e..2a3e2c56bc60 100644 --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c | |||
@@ -1850,7 +1850,7 @@ static struct emac_platform_data | |||
1850 | * resource information from platform init and register a network device | 1850 | * resource information from platform init and register a network device |
1851 | * and allocate resources necessary for driver to perform | 1851 | * and allocate resources necessary for driver to perform |
1852 | */ | 1852 | */ |
1853 | static int __devinit davinci_emac_probe(struct platform_device *pdev) | 1853 | static int davinci_emac_probe(struct platform_device *pdev) |
1854 | { | 1854 | { |
1855 | int rc = 0; | 1855 | int rc = 0; |
1856 | struct resource *res; | 1856 | struct resource *res; |
@@ -2039,7 +2039,7 @@ no_ndev: | |||
2039 | * Called when removing the device driver. We disable clock usage and release | 2039 | * Called when removing the device driver. We disable clock usage and release |
2040 | * the resources taken up by the driver and unregister network device | 2040 | * the resources taken up by the driver and unregister network device |
2041 | */ | 2041 | */ |
2042 | static int __devexit davinci_emac_remove(struct platform_device *pdev) | 2042 | static int davinci_emac_remove(struct platform_device *pdev) |
2043 | { | 2043 | { |
2044 | struct resource *res; | 2044 | struct resource *res; |
2045 | struct net_device *ndev = platform_get_drvdata(pdev); | 2045 | struct net_device *ndev = platform_get_drvdata(pdev); |
@@ -2107,7 +2107,7 @@ static struct platform_driver davinci_emac_driver = { | |||
2107 | .of_match_table = of_match_ptr(davinci_emac_of_match), | 2107 | .of_match_table = of_match_ptr(davinci_emac_of_match), |
2108 | }, | 2108 | }, |
2109 | .probe = davinci_emac_probe, | 2109 | .probe = davinci_emac_probe, |
2110 | .remove = __devexit_p(davinci_emac_remove), | 2110 | .remove = davinci_emac_remove, |
2111 | }; | 2111 | }; |
2112 | 2112 | ||
2113 | /** | 2113 | /** |