sysfs.h 928 B

123456789101112131415161718192021222324252627
  1. /*
  2. * linux/drivers/mmc/core/sysfs.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_SYSFS_H
  12. #define _MMC_CORE_SYSFS_H
  13. void mmc_init_card(struct mmc_card *card, struct mmc_host *host);
  14. int mmc_register_card(struct mmc_card *card);
  15. void mmc_remove_card(struct mmc_card *card);
  16. struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev);
  17. int mmc_add_host_sysfs(struct mmc_host *host);
  18. void mmc_remove_host_sysfs(struct mmc_host *host);
  19. void mmc_free_host_sysfs(struct mmc_host *host);
  20. int mmc_schedule_work(struct work_struct *work);
  21. int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay);
  22. void mmc_flush_scheduled_work(void);
  23. #endif