diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-27 08:22:37 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 14:10:56 -0400 |
commit | fa64efa1f2a0672767ad0753a6e4bfa4bcc77b87 (patch) | |
tree | 9d85f00c23c5e7c922becb639d3dfec9d08f4e89 /include/linux/mmc/sdio_func.h | |
parent | 46f555f2731a14545a09ec06d27bd18e8e07069f (diff) |
mmc: enable/disable functions for SDIO
Like many other buses, the devices (functions) on the SDIO bus
must be enabled before they can be used. Add functions that allow
drivers to do so.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index 5c56df196287..3365fef5f713 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h | |||
@@ -55,6 +55,9 @@ extern void sdio_unregister_driver(struct sdio_driver *); | |||
55 | extern void sdio_claim_host(struct sdio_func *func); | 55 | extern void sdio_claim_host(struct sdio_func *func); |
56 | extern void sdio_release_host(struct sdio_func *func); | 56 | extern void sdio_release_host(struct sdio_func *func); |
57 | 57 | ||
58 | extern int sdio_enable_func(struct sdio_func *func); | ||
59 | extern int sdio_disable_func(struct sdio_func *func); | ||
60 | |||
58 | extern unsigned char sdio_readb(struct sdio_func *func, | 61 | extern unsigned char sdio_readb(struct sdio_func *func, |
59 | unsigned int addr, int *err_ret); | 62 | unsigned int addr, int *err_ret); |
60 | 63 | ||