1 /* 2 * linux/drivers/mmc/core/bus.h 3 * 4 * Copyright (C) 2003 Russell King, All Rights Reserved. 5 * Copyright 2007 Pierre Ossman 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 #ifndef _MMC_CORE_BUS_H 12 #define _MMC_CORE_BUS_H 13 14 struct mmc_card *mmc_alloc_card(struct mmc_host *host); 15 int mmc_add_card(struct mmc_card *card); 16 void mmc_remove_card(struct mmc_card *card); 17 18 int mmc_register_bus(void); 19 void mmc_unregister_bus(void); 20 21 #endif 22 23