2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* linux/drivers/mmc/mmc.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_H
|
|
|
|
#define _MMC_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);
|
2005-08-19 08:41:24 +00:00
|
|
|
|
|
|
|
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);
|
2006-10-04 09:15:41 +00:00
|
|
|
|
|
|
|
int mmc_schedule_work(struct work_struct *work);
|
2006-11-22 14:57:56 +00:00
|
|
|
int mmc_schedule_delayed_work(struct delayed_work *work, unsigned long delay);
|
2006-10-04 09:15:41 +00:00
|
|
|
void mmc_flush_scheduled_work(void);
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif
|