Commit 044b1a93 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller

ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call

This should be "tx4939ide" instead of "tx4938ide", but here MODNAME is even
better.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent baf6722a
...@@ -549,7 +549,7 @@ static int __init tx4939ide_probe(struct platform_device *pdev) ...@@ -549,7 +549,7 @@ static int __init tx4939ide_probe(struct platform_device *pdev)
return -ENODEV; return -ENODEV;
if (!devm_request_mem_region(&pdev->dev, res->start, if (!devm_request_mem_region(&pdev->dev, res->start,
resource_size(res), "tx4938ide")) resource_size(res), MODNAME))
return -EBUSY; return -EBUSY;
mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start, mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start,
resource_size(res)); resource_size(res));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment