]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[ARM] pxamci: fix printing gpio numbers in pxamci_probe
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 2 Oct 2009 14:24:02 +0000 (16:24 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 12 Oct 2009 07:30:50 +0000 (15:30 +0800)
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>
drivers/mmc/host/pxamci.c

index 5e0b1529964d638c4462c16986eb20d48a956a88..b00d6731905826864abf43a762910899087a3887 100644 (file)
@@ -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);