summaryrefslogtreecommitdiffstats
path: root/drivers/net/ax88796.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-02-17 23:08:58 +0100
committerTony Lindgren <tony@atomide.com>2010-02-17 23:08:58 +0100
commit80c20d543d142ee54ec85259b77aaf0b83c32db5 (patch)
tree364017b2c001939bbb645dcc20d565c1f71b13a8 /drivers/net/ax88796.c
parentOMAP4: MCPDM: Register McPDM platform device (diff)
parentomap: Remove DEBUG_FS dependency for mux name checking (diff)
downloadlinux-80c20d543d142ee54ec85259b77aaf0b83c32db5.tar.xz
linux-80c20d543d142ee54ec85259b77aaf0b83c32db5.zip
Merge branch 'omap-fixes-for-linus' into omap-for-linus
Diffstat (limited to 'drivers/net/ax88796.c')
-rw-r--r--drivers/net/ax88796.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index 62d9c9cc5671..1dd4403247ca 100644
--- a/drivers/net/ax88796.c
+++ b/drivers/net/ax88796.c
@@ -921,7 +921,7 @@ static int ax_probe(struct platform_device *pdev)
size = (res->end - res->start) + 1;
ax->mem2 = request_mem_region(res->start, size, pdev->name);
- if (ax->mem == NULL) {
+ if (ax->mem2 == NULL) {
dev_err(&pdev->dev, "cannot reserve registers\n");
ret = -ENXIO;
goto exit_mem1;