![Arnd Bergmann](/assets/img/avatar_default.png)
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This the definitions for the tegra sdhci driver out of the tegra include directories, which is the last one for this platform. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Chris Ball <cjb@laptop.org>
29 lines
762 B
C
29 lines
762 B
C
/*
|
|
* Copyright (C) 2009 Palm, Inc.
|
|
* Author: Yvonne Yip <y@palm.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef __PLATFORM_DATA_TEGRA_SDHCI_H
|
|
#define __PLATFORM_DATA_TEGRA_SDHCI_H
|
|
|
|
#include <linux/mmc/host.h>
|
|
|
|
struct tegra_sdhci_platform_data {
|
|
int cd_gpio;
|
|
int wp_gpio;
|
|
int power_gpio;
|
|
int is_8bit;
|
|
int pm_flags;
|
|
};
|
|
|
|
#endif
|