#include <linux/delay.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/gpio/consumer.h>
#include <linux/mmc/host.h>
#include "pwrseq.h"
struct mmc_pwrseq_sd8787 { … };
#define to_pwrseq_sd8787(p) …
static void mmc_pwrseq_sd8787_pre_power_on(struct mmc_host *host)
{ … }
static void mmc_pwrseq_sd8787_power_off(struct mmc_host *host)
{ … }
static void mmc_pwrseq_wilc1000_pre_power_on(struct mmc_host *host)
{ … }
static void mmc_pwrseq_wilc1000_power_off(struct mmc_host *host)
{ … }
static const struct mmc_pwrseq_ops mmc_pwrseq_sd8787_ops = …;
static const struct mmc_pwrseq_ops mmc_pwrseq_wilc1000_ops = …;
static const struct of_device_id mmc_pwrseq_sd8787_of_match[] = …;
MODULE_DEVICE_TABLE(of, mmc_pwrseq_sd8787_of_match);
static int mmc_pwrseq_sd8787_probe(struct platform_device *pdev)
{ … }
static void mmc_pwrseq_sd8787_remove(struct platform_device *pdev)
{ … }
static struct platform_driver mmc_pwrseq_sd8787_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;