drivers/mmc/core/sdio_bus.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * linux/drivers/mmc/core/sdio_bus.h |
| 4 | * |
| 5 | * Copyright 2007 Pierre Ossman |
| 6 | */ |
| 7 | #ifndef _MMC_CORE_SDIO_BUS_H |
| 8 | #define _MMC_CORE_SDIO_BUS_H |
| 9 | |
| 10 | struct mmc_card; |
| 11 | struct sdio_func; |
| 12 | |
| 13 | struct sdio_func *sdio_alloc_func(struct mmc_card *card); |
| 14 | int sdio_add_func(struct sdio_func *func); |
| 15 | void sdio_remove_func(struct sdio_func *func); |
| 16 | |
| 17 | int sdio_register_bus(void); |
| 18 | void sdio_unregister_bus(void); |
| 19 | |
| 20 | #endif |
| 21 |