mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
mmc: Fix typo in s3cmci.c
Correct typo "resouce" to "resource" in drivers/mmc/host/s3cmci.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
881b999e77
commit
4aa6ded9fa
1 changed files with 2 additions and 2 deletions
|
@ -1606,7 +1606,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
|
||||||
host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||||
if (!host->mem) {
|
if (!host->mem) {
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"failed to get io memory region resouce.\n");
|
"failed to get io memory region resource.\n");
|
||||||
|
|
||||||
ret = -ENOENT;
|
ret = -ENOENT;
|
||||||
goto probe_free_gpio;
|
goto probe_free_gpio;
|
||||||
|
@ -1630,7 +1630,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
host->irq = platform_get_irq(pdev, 0);
|
host->irq = platform_get_irq(pdev, 0);
|
||||||
if (host->irq == 0) {
|
if (host->irq == 0) {
|
||||||
dev_err(&pdev->dev, "failed to get interrupt resouce.\n");
|
dev_err(&pdev->dev, "failed to get interrupt resource.\n");
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
goto probe_iounmap;
|
goto probe_iounmap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue