diff options
Diffstat (limited to 'drivers')
-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 5e0b1529964d..b00d67319058 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) | |||
693 | if (gpio_is_valid(gpio_ro)) { | 693 | if (gpio_is_valid(gpio_ro)) { |
694 | ret = gpio_request(gpio_ro, "mmc card read only"); | 694 | ret = gpio_request(gpio_ro, "mmc card read only"); |
695 | if (ret) { | 695 | if (ret) { |
696 | dev_err(&pdev->dev, "Failed requesting gpio_ro %d\n", gpio_power); | 696 | dev_err(&pdev->dev, "Failed requesting gpio_ro %d\n", gpio_ro); |
697 | goto err_gpio_ro; | 697 | goto err_gpio_ro; |
698 | } | 698 | } |
699 | gpio_direction_input(gpio_ro); | 699 | gpio_direction_input(gpio_ro); |
@@ -701,7 +701,7 @@ static int pxamci_probe(struct platform_device *pdev) | |||
701 | if (gpio_is_valid(gpio_cd)) { | 701 | if (gpio_is_valid(gpio_cd)) { |
702 | ret = gpio_request(gpio_cd, "mmc card detect"); | 702 | ret = gpio_request(gpio_cd, "mmc card detect"); |
703 | if (ret) { | 703 | if (ret) { |
704 | dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_power); | 704 | dev_err(&pdev->dev, "Failed requesting gpio_cd %d\n", gpio_cd); |
705 | goto err_gpio_cd; | 705 | goto err_gpio_cd; |
706 | } | 706 | } |
707 | gpio_direction_input(gpio_cd); | 707 | gpio_direction_input(gpio_cd); |