aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index d94560f9eac7..5e989d884ddd 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1874,7 +1874,7 @@ static int __devexit smsc911x_drv_remove(struct platform_device *pdev)
1874 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, 1874 res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
1875 "smsc911x-memory"); 1875 "smsc911x-memory");
1876 if (!res) 1876 if (!res)
1877 platform_get_resource(pdev, IORESOURCE_MEM, 0); 1877 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
1878 1878
1879 release_mem_region(res->start, res->end - res->start); 1879 release_mem_region(res->start, res->end - res->start);
1880 1880