xref: /openbmc/linux/drivers/mmc/core/sdio_bus.h (revision ba61bb17)
1 /*
2  *  linux/drivers/mmc/core/sdio_bus.h
3  *
4  *  Copyright 2007 Pierre Ossman
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or (at
9  * your option) any later version.
10  */
11 #ifndef _MMC_CORE_SDIO_BUS_H
12 #define _MMC_CORE_SDIO_BUS_H
13 
14 struct mmc_card;
15 struct sdio_func;
16 
17 struct sdio_func *sdio_alloc_func(struct mmc_card *card);
18 int sdio_add_func(struct sdio_func *func);
19 void sdio_remove_func(struct sdio_func *func);
20 
21 int sdio_register_bus(void);
22 void sdio_unregister_bus(void);
23 
24 #endif
25 
26