MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / drivers / mmc / mmc.h
blobcd5e0ab3d84b46c62018d4ac0fa3930dd704953e
1 /*
2 * linux/drivers/mmc/mmc.h
4 * Copyright (C) 2003 Russell King, All Rights Reserved.
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_H
11 #define _MMC_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);
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);
22 int mmc_schedule_work(struct work_struct *work);
23 int mmc_schedule_delayed_work(struct work_struct *work, unsigned long delay);
24 void mmc_flush_scheduled_work(void);
25 #endif