summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-07-25 01:01:45 +0300
committerDavid S. Miller <davem@davemloft.net>2020-01-20 15:38:25 +0300
commit044b1a933108bc1122fda85c711ed5a93bc5ecd5 (patch)
tree13e3ef8173d356cc9ad42984eddacd36f45fb0fe /drivers/ide
parentbaf6722aa0cbc5381f11520eb661be71b3ac379e (diff)
downloadlinux-044b1a933108bc1122fda85c711ed5a93bc5ecd5.tar.xz
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/tx4939ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c
index 88d132edc4e3..079b271dd5a7 100644
--- a/drivers/ide/tx4939ide.c
+++ b/drivers/ide/tx4939ide.c
@@ -549,7 +549,7 @@ static int __init tx4939ide_probe(struct platform_device *pdev)
return -ENODEV;
if (!devm_request_mem_region(&pdev->dev, res->start,
- resource_size(res), "tx4938ide"))
+ resource_size(res), MODNAME))
return -EBUSY;
mapbase = (unsigned long)devm_ioremap(&pdev->dev, res->start,
resource_size(res));