Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/drivers/mmc/mmc.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_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); |
Russell King | 00b137c | 2005-08-19 09:41:24 +0100 | [diff] [blame] | 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); |
Pierre Ossman | 7104e2d | 2006-10-04 02:15:41 -0700 | [diff] [blame] | 21 | |
| 22 | int mmc_schedule_work(struct work_struct *work); |
David Howells | c402895 | 2006-11-22 14:57:56 +0000 | [diff] [blame] | 23 | int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay); |
Pierre Ossman | 7104e2d | 2006-10-04 02:15:41 -0700 | [diff] [blame] | 24 | void mmc_flush_scheduled_work(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #endif |