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

Message ID
State Under Review
Delegated to: David Miller
Headers show
  • ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call
Related show

Commit Message

Christophe JAILLET July 24, 2019, 10:01 p.m. UTC
This should be "tx4939ide" instead of "tx4938ide", but here MODNAME is even

Signed-off-by: Christophe JAILLET <>
 drivers/ide/tx4939ide.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

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,