diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2009-09-22 19:45:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:38 -0400 |
commit | 996ad5686c5f868e67557cc1bfcb2cfdde1a18b4 (patch) | |
tree | a9075fe3acf1e8f847403c4b007aa25ccc742fe0 /drivers/mmc/core | |
parent | 95cdfb72b9bc568803f395c266152c71b034b461 (diff) |
mmc: make SDIO device/driver struct accessors public
Especially with the PM framework, those are quite handy to have in driver
code too.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/sdio_bus.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/core/sdio_bus.c b/drivers/mmc/core/sdio_bus.c index 46284b527397..d37464e296a5 100644 --- a/drivers/mmc/core/sdio_bus.c +++ b/drivers/mmc/core/sdio_bus.c | |||
@@ -20,9 +20,6 @@ | |||
20 | #include "sdio_cis.h" | 20 | #include "sdio_cis.h" |
21 | #include "sdio_bus.h" | 21 | #include "sdio_bus.h" |
22 | 22 | ||
23 | #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) | ||
24 | #define to_sdio_driver(d) container_of(d, struct sdio_driver, drv) | ||
25 | |||
26 | /* show configuration fields */ | 23 | /* show configuration fields */ |
27 | #define sdio_config_attr(field, format_string) \ | 24 | #define sdio_config_attr(field, format_string) \ |
28 | static ssize_t \ | 25 | static ssize_t \ |