Loading...
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
14struct sdio_func *sdio_alloc_func(struct mmc_card *card);
15int sdio_add_func(struct sdio_func *func);
16void sdio_remove_func(struct sdio_func *func);
17
18int sdio_register_bus(void);
19void sdio_unregister_bus(void);
20
21#endif
22
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
10struct mmc_card;
11struct sdio_func;
12
13struct sdio_func *sdio_alloc_func(struct mmc_card *card);
14int sdio_add_func(struct sdio_func *func);
15void sdio_remove_func(struct sdio_func *func);
16
17int sdio_register_bus(void);
18void sdio_unregister_bus(void);
19
20#endif
21