aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/sdio_func.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h
index 50c78db420e6..13a1a9ca4b66 100644
--- a/include/linux/mmc/sdio_func.h
+++ b/include/linux/mmc/sdio_func.h
@@ -31,5 +31,23 @@ struct sdio_func {
31 31
32#define sdio_func_id(f) ((f)->dev.bus_id) 32#define sdio_func_id(f) ((f)->dev.bus_id)
33 33
34#define sdio_get_drvdata(f) dev_get_drvdata(&(f)->dev)
35#define sdio_set_drvdata(f,d) dev_set_drvdata(&(f)->dev, d)
36
37/*
38 * SDIO function device driver
39 */
40struct sdio_driver {
41 char *name;
42
43 int (*probe)(struct sdio_func *);
44 void (*remove)(struct sdio_func *);
45
46 struct device_driver drv;
47};
48
49extern int sdio_register_driver(struct sdio_driver *);
50extern void sdio_unregister_driver(struct sdio_driver *);
51
34#endif 52#endif
35 53