#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/mmc/host.h>
#include "pwrseq.h"
static DEFINE_MUTEX(pwrseq_list_mutex);
static LIST_HEAD(pwrseq_list);
int mmc_pwrseq_alloc(struct mmc_host *host)
{ … }
void mmc_pwrseq_pre_power_on(struct mmc_host *host)
{ … }
void mmc_pwrseq_post_power_on(struct mmc_host *host)
{ … }
void mmc_pwrseq_power_off(struct mmc_host *host)
{ … }
void mmc_pwrseq_reset(struct mmc_host *host)
{ … }
void mmc_pwrseq_free(struct mmc_host *host)
{ … }
int mmc_pwrseq_register(struct mmc_pwrseq *pwrseq)
{ … }
EXPORT_SYMBOL_GPL(…);
void mmc_pwrseq_unregister(struct mmc_pwrseq *pwrseq)
{ … }
EXPORT_SYMBOL_GPL(…);