sdio_bus.h 650 B

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