mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 10:36:45 +07:00
42c1add970
None of this code is currently used: there are no definitions of struct sdhci_plat_data in arch/arm, neither are there any DT properties which use card_power_gpio/power_active_high/power_always_enb. In any case, slot power control should be rigged up via vmmc and the regulator subsystem in the DT case. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Chris Ball <chris@printf.net>
35 lines
889 B
C
35 lines
889 B
C
/*
|
|
* include/linux/mmc/sdhci-spear.h
|
|
*
|
|
* SDHCI declarations specific to ST SPEAr platform
|
|
*
|
|
* Copyright (C) 2010 ST Microelectronics
|
|
* Viresh Kumar <viresh.linux@gmail.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef LINUX_MMC_SDHCI_SPEAR_H
|
|
#define LINUX_MMC_SDHCI_SPEAR_H
|
|
|
|
#include <linux/platform_device.h>
|
|
/*
|
|
* struct sdhci_plat_data: spear sdhci platform data structure
|
|
*
|
|
* card_int_gpio: gpio pin used for card detection
|
|
*/
|
|
struct sdhci_plat_data {
|
|
int card_int_gpio;
|
|
};
|
|
|
|
/* This function is used to set platform_data field of pdev->dev */
|
|
static inline void
|
|
sdhci_set_plat_data(struct platform_device *pdev, struct sdhci_plat_data *data)
|
|
{
|
|
pdev->dev.platform_data = data;
|
|
}
|
|
|
|
#endif /* LINUX_MMC_SDHCI_SPEAR_H */
|