diff options
| author | Pierre Ossman <drzeus@drzeus.cx> | 2007-02-28 09:33:10 -0500 |
|---|---|---|
| committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-01 07:04:18 -0400 |
| commit | aaac1b470bd0dccb30912356617069dc6199cc80 (patch) | |
| tree | 123316b4a6c10bf2e884d0469994f3435d03e22c /drivers/mmc/core/core.h | |
| parent | b855885e3b60cf6f9452848712a62517b94583eb (diff) | |
mmc: Move core functions to subdir
Create a "core" subdirectory to house the central bus handling
functions.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/core/core.h')
| -rw-r--r-- | drivers/mmc/core/core.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h new file mode 100644 index 00000000000..076cb2f49a0 --- /dev/null +++ b/drivers/mmc/core/core.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | * linux/drivers/mmc/core/core.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 2003 Russell King, All Rights Reserved. | ||
| 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 version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | #ifndef _MMC_CORE_H | ||
| 11 | #define _MMC_CORE_H | ||
| 12 | /* core-internal functions */ | ||
| 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 | |||
| 17 | struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev); | ||
| 18 | int mmc_add_host_sysfs(struct mmc_host *host); | ||
| 19 | void mmc_remove_host_sysfs(struct mmc_host *host); | ||
| 20 | void mmc_free_host_sysfs(struct mmc_host *host); | ||
| 21 | |||
| 22 | int mmc_schedule_work(struct work_struct *work); | ||
| 23 | int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay); | ||
| 24 | void mmc_flush_scheduled_work(void); | ||
| 25 | #endif | ||
