sdio_bus.h 443 B

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