diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-12 18:15:42 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 11:18:57 +0200 |
commit | e35742b034a29a1c00f12ab6d0a7ab779abc8f83 (patch) | |
tree | 9bb7846ff60840886c918c23ca71d7f5f8ccad0e /include/linux/platform_data/mmc-sdhci-tegra.h | |
parent | a1fd844c6e620f90d5c27713fddcec067abe9572 (diff) |
ARM: tegra: move sdhci platform_data definition
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>
Diffstat (limited to 'include/linux/platform_data/mmc-sdhci-tegra.h')
-rw-r--r-- | include/linux/platform_data/mmc-sdhci-tegra.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-sdhci-tegra.h b/include/linux/platform_data/mmc-sdhci-tegra.h new file mode 100644 index 00000000000..8f843069768 --- /dev/null +++ b/include/linux/platform_data/mmc-sdhci-tegra.h @@ -0,0 +1,28 @@ +/* + * 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 |