aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmc/card.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-11-19 15:54:50 +0000
committerBen Dooks <ben-linux@fluff.org>2008-11-19 15:54:50 +0000
commit0fc24c1ebff281406d66840cbaa6d303bc2cae24 (patch)
treeb3cacbb64fa31671d2f6241f38b5dd31db4a643a /include/linux/mmc/card.h
parentb9914406fb128bee01b2a23a35eafbc83ff915f0 (diff)
parent18aa04d882fe72eb59ea2c9e3f78400d85b6535f (diff)
Merge branch 'rmk-next' into s3c64xx
Diffstat (limited to 'include/linux/mmc/card.h')
-rw-r--r--include/linux/mmc/card.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index ee6e822d599..403aa505f27 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -130,7 +130,7 @@ struct mmc_card {
#define mmc_card_set_blockaddr(c) ((c)->state |= MMC_STATE_BLOCKADDR)
#define mmc_card_name(c) ((c)->cid.prod_name)
-#define mmc_card_id(c) ((c)->dev.bus_id)
+#define mmc_card_id(c) (dev_name(&(c)->dev))
#define mmc_list_to_card(l) container_of(l, struct mmc_card, node)
#define mmc_get_drvdata(c) dev_get_drvdata(&(c)->dev)