- patches.apparmor/remove_suid_new_case_in_2.6.22.diff: Merge fix.
[linux-flexiantxendom0-3.2.10.git] / drivers / mmc / core / sysfs.h
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