diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-03-24 19:38:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:38:21 -0400 |
commit | 48f8151ea68ad78391ef6ff12a83e6fbdb6094f6 (patch) | |
tree | f8ca3b95f58a4809c4e76255e9e4c4d91db39404 /drivers/mmc/host/of_mmc_spi.c | |
parent | 2796872c40c462bacf2d09bb99faa6dcd640a620 (diff) |
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: drzeus-mmc@drzeus.cx
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/mmc/host/of_mmc_spi.c')
-rw-r--r-- | drivers/mmc/host/of_mmc_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index fb2921f8099d..0c44d560bf1a 100644 --- a/drivers/mmc/host/of_mmc_spi.c +++ b/drivers/mmc/host/of_mmc_spi.c | |||
@@ -103,7 +103,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi) | |||
103 | if (!gpio_is_valid(oms->gpios[i])) | 103 | if (!gpio_is_valid(oms->gpios[i])) |
104 | continue; | 104 | continue; |
105 | 105 | ||
106 | ret = gpio_request(oms->gpios[i], dev->bus_id); | 106 | ret = gpio_request(oms->gpios[i], dev_name(dev)); |
107 | if (ret < 0) { | 107 | if (ret < 0) { |
108 | oms->gpios[i] = -EINVAL; | 108 | oms->gpios[i] = -EINVAL; |
109 | continue; | 109 | continue; |