summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/sdio_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmc/sdio_func.h')
-rw-r--r--include/linux/mmc/sdio_func.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h
index 13a1a9ca4b66..5c56df196287 100644
--- a/include/linux/mmc/sdio_func.h
+++ b/include/linux/mmc/sdio_func.h
@@ -49,5 +49,17 @@ struct sdio_driver {
extern int sdio_register_driver(struct sdio_driver *);
extern void sdio_unregister_driver(struct sdio_driver *);
+/*
+ * SDIO I/O operations
+ */
+extern void sdio_claim_host(struct sdio_func *func);
+extern void sdio_release_host(struct sdio_func *func);
+
+extern unsigned char sdio_readb(struct sdio_func *func,
+ unsigned int addr, int *err_ret);
+
+extern void sdio_writeb(struct sdio_func *func, unsigned char b,
+ unsigned int addr, int *err_ret);
+
#endif
OpenPOWER on IntegriCloud