diff options
| author | Tomas Winkler <tomas.winkler@intel.com> | 2008-06-30 03:50:24 -0400 |
|---|---|---|
| committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:48 -0400 |
| commit | 6d37333163025b46afbcad434ec9a5f2e88e7254 (patch) | |
| tree | 8f01cb7d7b0133464afb1eeeaa776aba542b3d72 /include/linux/mmc | |
| parent | 9eeebd22ca757fee8dc10ffe6fa6992f33a3c5ec (diff) | |
mmc: fix sdio_io sparse errors
This patch fixes sdio_io sparse errors.
This fix changes signature of API functions,
changing
unsigned char -> u8
unsigned short -> u16
unsigned long -> u32 - this was probably a bug in 64 bit platforms
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc')
| -rwxr-xr-x[-rw-r--r--] | include/linux/mmc/sdio_func.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index f57f22b3be88..28fb0a33acf8 100644..100755 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h | |||
| @@ -122,23 +122,20 @@ extern int sdio_release_irq(struct sdio_func *func); | |||
| 122 | 122 | ||
| 123 | extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz); | 123 | extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz); |
| 124 | 124 | ||
| 125 | extern unsigned char sdio_readb(struct sdio_func *func, | 125 | extern u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret); |
| 126 | unsigned int addr, int *err_ret); | 126 | extern u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret); |
| 127 | extern unsigned short sdio_readw(struct sdio_func *func, | 127 | extern u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret); |
| 128 | unsigned int addr, int *err_ret); | ||
| 129 | extern unsigned long sdio_readl(struct sdio_func *func, | ||
| 130 | unsigned int addr, int *err_ret); | ||
| 131 | 128 | ||
| 132 | extern int sdio_memcpy_fromio(struct sdio_func *func, void *dst, | 129 | extern int sdio_memcpy_fromio(struct sdio_func *func, void *dst, |
| 133 | unsigned int addr, int count); | 130 | unsigned int addr, int count); |
| 134 | extern int sdio_readsb(struct sdio_func *func, void *dst, | 131 | extern int sdio_readsb(struct sdio_func *func, void *dst, |
| 135 | unsigned int addr, int count); | 132 | unsigned int addr, int count); |
| 136 | 133 | ||
| 137 | extern void sdio_writeb(struct sdio_func *func, unsigned char b, | 134 | extern void sdio_writeb(struct sdio_func *func, u8 b, |
| 138 | unsigned int addr, int *err_ret); | 135 | unsigned int addr, int *err_ret); |
| 139 | extern void sdio_writew(struct sdio_func *func, unsigned short b, | 136 | extern void sdio_writew(struct sdio_func *func, u16 b, |
| 140 | unsigned int addr, int *err_ret); | 137 | unsigned int addr, int *err_ret); |
| 141 | extern void sdio_writel(struct sdio_func *func, unsigned long b, | 138 | extern void sdio_writel(struct sdio_func *func, u32 b, |
| 142 | unsigned int addr, int *err_ret); | 139 | unsigned int addr, int *err_ret); |
| 143 | 140 | ||
| 144 | extern int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, | 141 | extern int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, |
