diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-02-28 15:33:10 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-05-01 13:04:18 +0200 |
commit | aaac1b470bd0dccb30912356617069dc6199cc80 (patch) | |
tree | 123316b4a6c10bf2e884d0469994f3435d03e22c /drivers/mmc/core/core.h | |
parent | b855885e3b60cf6f9452848712a62517b94583eb (diff) | |
download | kernel_samsung_aries-aaac1b470bd0dccb30912356617069dc6199cc80.zip kernel_samsung_aries-aaac1b470bd0dccb30912356617069dc6199cc80.tar.gz kernel_samsung_aries-aaac1b470bd0dccb30912356617069dc6199cc80.tar.bz2 |
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 0000000..076cb2f --- /dev/null +++ b/drivers/mmc/core/core.h @@ -0,0 +1,25 @@ +/* + * linux/drivers/mmc/core/core.h + * + * Copyright (C) 2003 Russell King, All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef _MMC_CORE_H +#define _MMC_CORE_H +/* core-internal functions */ +void mmc_init_card(struct mmc_card *card, struct mmc_host *host); +int mmc_register_card(struct mmc_card *card); +void mmc_remove_card(struct mmc_card *card); + +struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev); +int mmc_add_host_sysfs(struct mmc_host *host); +void mmc_remove_host_sysfs(struct mmc_host *host); +void mmc_free_host_sysfs(struct mmc_host *host); + +int mmc_schedule_work(struct work_struct *work); +int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay); +void mmc_flush_scheduled_work(void); +#endif |