]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/mmc/core/core.h
mmc: Move core functions to subdir
[mirror_ubuntu-artful-kernel.git] / drivers / mmc / core / core.h
CommitLineData
1da177e4 1/*
aaac1b47 2 * linux/drivers/mmc/core/core.h
1da177e4
LT
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 */
aaac1b47
PO
10#ifndef _MMC_CORE_H
11#define _MMC_CORE_H
1da177e4
LT
12/* core-internal functions */
13void mmc_init_card(struct mmc_card *card, struct mmc_host *host);
14int mmc_register_card(struct mmc_card *card);
15void mmc_remove_card(struct mmc_card *card);
00b137cf
RK
16
17struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev);
18int mmc_add_host_sysfs(struct mmc_host *host);
19void mmc_remove_host_sysfs(struct mmc_host *host);
20void mmc_free_host_sysfs(struct mmc_host *host);
7104e2d5
PO
21
22int mmc_schedule_work(struct work_struct *work);
c4028958 23int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay);
7104e2d5 24void mmc_flush_scheduled_work(void);
1da177e4 25#endif