diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-08 23:37:46 +0300 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-11-08 23:37:46 +0300 |
commit | d1b268630875a7713b5d468a0c03403c5b721c8e (patch) | |
tree | 2ff8ad7879d2ab005820bd5cf88417456daf2d5e /include/linux/mmc/sdio_func.h | |
parent | 493890e75d98810a3470b4aae23be628ee5e9667 (diff) | |
download | linux-d1b268630875a7713b5d468a0c03403c5b721c8e.tar.xz |
mmc: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-Off-By: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc/sdio_func.h')
-rw-r--r-- | include/linux/mmc/sdio_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index 07bee4a0d457..451bdfc85830 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h @@ -63,7 +63,7 @@ struct sdio_func { #define sdio_func_set_present(f) ((f)->state |= SDIO_STATE_PRESENT) -#define sdio_func_id(f) ((f)->dev.bus_id) +#define sdio_func_id(f) (dev_name(&(f)->dev)) #define sdio_get_drvdata(f) dev_get_drvdata(&(f)->dev) #define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d) |