diff options
Diffstat (limited to 'drivers/mmc/core/sysfs.h')
-rw-r--r-- | drivers/mmc/core/sysfs.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/mmc/core/sysfs.h b/drivers/mmc/core/sysfs.h new file mode 100644 index 00000000000..80e29b35828 --- /dev/null +++ b/drivers/mmc/core/sysfs.h | |||
@@ -0,0 +1,27 @@ | |||
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 | |||
14 | void mmc_init_card(struct mmc_card *card, struct mmc_host *host); | ||
15 | int mmc_register_card(struct mmc_card *card); | ||
16 | void mmc_remove_card(struct mmc_card *card); | ||
17 | |||
18 | struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev); | ||
19 | int mmc_add_host_sysfs(struct mmc_host *host); | ||
20 | void mmc_remove_host_sysfs(struct mmc_host *host); | ||
21 | void mmc_free_host_sysfs(struct mmc_host *host); | ||
22 | |||
23 | int mmc_schedule_work(struct work_struct *work); | ||
24 | int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay); | ||
25 | void mmc_flush_scheduled_work(void); | ||
26 | |||
27 | #endif | ||