projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf6722
)
ide: tx4939ide: Fix the name used in a 'devm_request_mem_region()' call
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Wed, 24 Jul 2019 22:01:45 +0000
(
00:01
+0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Jan 2020 12:38:25 +0000
(13:38 +0100)
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>
drivers/ide/tx4939ide.c
patch
|
blob
|
history
diff --git
a/drivers/ide/tx4939ide.c
b/drivers/ide/tx4939ide.c
index
88d132e
..
079b271
100644
(file)
--- 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));