diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2009-10-02 16:24:02 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-10-12 15:30:50 +0800 |
commit | 48f029542f1219eb50ade5e24b1b2799bd057413 (patch) | |
tree | 8046887d5c65d454ba786f998386fb9cbf897a56 /drivers/mmc | |
parent | c639ef431797813a9ab509e7cb5c77a080277a5b (diff) | |
download | kernel_samsung_smdk4412-48f029542f1219eb50ade5e24b1b2799bd057413.zip kernel_samsung_smdk4412-48f029542f1219eb50ade5e24b1b2799bd057413.tar.gz kernel_samsung_smdk4412-48f029542f1219eb50ade5e24b1b2799bd057413.tar.bz2 |
[ARM] pxamci: fix printing gpio numbers in pxamci_probe
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/pxamci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index 5e0b152..b00d673 100644 --- a/drivers/mmc/host/pxamci.c +++ b/drivers/mmc/host/pxamci.c @@ -693,7 +693,7 @@ static int pxamci_probe(struct platform_device *pdev) if (gpio_is_valid(gpio_ro)) { ret = gpio_request(gpio_ro, "mmc card read only"); if (ret) { - dev_err(&pdev->dev, "Failed requesting gpio_ro %d\n", gpio_power); + dev_err(&pdev->dev, "Failed requesting gpio_ro %d\n", gpio_ro); goto err_gpio_ro; } gpio_direction_input(gpio_ro); @@ -701,7 +701,7 @@ static int pxamci_probe(struct platform_device *pdev) if (gpio_is_valid(gpio_cd)) { ret = gpio_request(gpio_cd, "mmc card detect"); if (ret) { - dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_power); + dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_cd); goto err_gpio_cd; } gpio_direction_input(gpio_cd); |