mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
e29a7d73f4
Add the sdio bus type and basic device handling. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
23 lines
614 B
C
23 lines
614 B
C
/*
|
|
* linux/drivers/mmc/core/sdio_bus.h
|
|
*
|
|
* Copyright 2007 Pierre Ossman
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*/
|
|
#ifndef _MMC_CORE_SDIO_BUS_H
|
|
#define _MMC_CORE_SDIO_BUS_H
|
|
|
|
struct sdio_func *sdio_alloc_func(struct mmc_card *card);
|
|
int sdio_add_func(struct sdio_func *func);
|
|
void sdio_remove_func(struct sdio_func *func);
|
|
|
|
int sdio_register_bus(void);
|
|
void sdio_unregister_bus(void);
|
|
|
|
#endif
|
|
|