diff options
Diffstat (limited to 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/sdio_func.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index af813fffc4ac..f05757984e8d 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h | |||
@@ -43,7 +43,8 @@ struct sdio_func { | |||
43 | unsigned short vendor; /* vendor id */ | 43 | unsigned short vendor; /* vendor id */ |
44 | unsigned short device; /* device id */ | 44 | unsigned short device; /* device id */ |
45 | 45 | ||
46 | unsigned short blksize; /* maximum block size */ | 46 | unsigned max_blksize; /* maximum block size */ |
47 | unsigned cur_blksize; /* current block size */ | ||
47 | 48 | ||
48 | unsigned int state; /* function state */ | 49 | unsigned int state; /* function state */ |
49 | #define SDIO_STATE_PRESENT (1<<0) /* present in sysfs */ | 50 | #define SDIO_STATE_PRESENT (1<<0) /* present in sysfs */ |
@@ -111,6 +112,8 @@ extern void sdio_release_host(struct sdio_func *func); | |||
111 | extern int sdio_enable_func(struct sdio_func *func); | 112 | extern int sdio_enable_func(struct sdio_func *func); |
112 | extern int sdio_disable_func(struct sdio_func *func); | 113 | extern int sdio_disable_func(struct sdio_func *func); |
113 | 114 | ||
115 | extern int sdio_set_block_size(struct sdio_func *func, unsigned blksz); | ||
116 | |||
114 | extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler); | 117 | extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler); |
115 | extern int sdio_release_irq(struct sdio_func *func); | 118 | extern int sdio_release_irq(struct sdio_func *func); |
116 | 119 | ||