bus.h 584 B

12345678910111213141516171819202122
  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. struct mmc_card *mmc_alloc_card(struct mmc_host *host);
  14. int mmc_add_card(struct mmc_card *card);
  15. void mmc_remove_card(struct mmc_card *card);
  16. int mmc_register_bus(void);
  17. void mmc_unregister_bus(void);
  18. #endif