linux/drivers/mmc/host/sdhci-pltfm.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * sdhci-pltfm.c Support for SDHCI platform devices
 * Copyright (c) 2009 Intel Corporation
 *
 * Copyright (c) 2007, 2011 Freescale Semiconductor, Inc.
 * Copyright (c) 2009 MontaVista Software, Inc.
 *
 * Authors: Xiaobo Xie <[email protected]>
 *	    Anton Vorontsov <[email protected]>
 */

/* Supports:
 * SDHCI platform devices
 *
 * Inspired by sdhci-pci.c, by Pierre Ossman
 */

#include <linux/err.h>
#include <linux/module.h>
#include <linux/property.h>
#ifdef CONFIG_PPC
#include <asm/machdep.h>
#endif
#include "sdhci-pltfm.h"

unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host)
{}
EXPORT_SYMBOL_GPL();

static const struct sdhci_ops sdhci_pltfm_ops =;

static bool sdhci_wp_inverted(struct device *dev)
{}

static void sdhci_get_compatibility(struct platform_device *pdev)
{}

void sdhci_get_property(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();

struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
				    const struct sdhci_pltfm_data *pdata,
				    size_t priv_size)
{}
EXPORT_SYMBOL_GPL();

void sdhci_pltfm_free(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();

int sdhci_pltfm_init_and_add_host(struct platform_device *pdev,
				  const struct sdhci_pltfm_data *pdata,
				  size_t priv_size)
{}
EXPORT_SYMBOL_GPL();

void sdhci_pltfm_remove(struct platform_device *pdev)
{}
EXPORT_SYMBOL_GPL();

#ifdef CONFIG_PM_SLEEP
int sdhci_pltfm_suspend(struct device *dev)
{}
EXPORT_SYMBOL_GPL();

int sdhci_pltfm_resume(struct device *dev)
{}
EXPORT_SYMBOL_GPL();
#endif

const struct dev_pm_ops sdhci_pltfm_pmops =;
EXPORT_SYMBOL_GPL();

static int __init sdhci_pltfm_drv_init(void)
{}
module_init();

static void __exit sdhci_pltfm_drv_exit(void)
{}
module_exit(sdhci_pltfm_drv_exit);

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();