提交 e35742b0 编写于 作者: A Arnd Bergmann

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: NArnd Bergmann <arnd@arndb.de>
Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: NNicolas Pitre <nico@linaro.org>
Acked-by: NStephen Warren <swarren@wwwdotorg.org>
Acked-by: NChris Ball <cjb@laptop.org>
上级 a1fd844c
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/platform_data/mmc-sdhci-tegra.h>
#include <sound/wm8903.h> #include <sound/wm8903.h>
...@@ -38,7 +39,6 @@ ...@@ -38,7 +39,6 @@
#include <mach/tegra_wm8903_pdata.h> #include <mach/tegra_wm8903_pdata.h>
#include <mach/iomap.h> #include <mach/iomap.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/sdhci.h>
#include "board.h" #include "board.h"
#include "board-harmony.h" #include "board-harmony.h"
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/rfkill-gpio.h> #include <linux/rfkill-gpio.h>
#include <linux/platform_data/mmc-sdhci-tegra.h>
#include <asm/hardware/gic.h> #include <asm/hardware/gic.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
...@@ -40,7 +41,6 @@ ...@@ -40,7 +41,6 @@
#include <mach/iomap.h> #include <mach/iomap.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/sdhci.h>
#include "board.h" #include "board.h"
#include "board-paz00.h" #include "board-paz00.h"
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_data/tegra_usb.h> #include <linux/platform_data/tegra_usb.h>
#include <linux/platform_data/mmc-sdhci-tegra.h>
#include <asm/hardware/gic.h> #include <asm/hardware/gic.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
...@@ -34,7 +35,6 @@ ...@@ -34,7 +35,6 @@
#include <asm/setup.h> #include <asm/setup.h>
#include <mach/iomap.h> #include <mach/iomap.h>
#include <mach/sdhci.h>
#include "board.h" #include "board.h"
#include "clock.h" #include "clock.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <asm/gpio.h> #include <asm/gpio.h>
#include <mach/gpio-tegra.h> #include <mach/gpio-tegra.h>
#include <mach/sdhci.h> #include <linux/platform_data/mmc-sdhci-tegra.h>
#include "sdhci-pltfm.h" #include "sdhci-pltfm.h"
......
/* /*
* include/asm-arm/arch-tegra/include/mach/sdhci.h
*
* Copyright (C) 2009 Palm, Inc. * Copyright (C) 2009 Palm, Inc.
* Author: Yvonne Yip <y@palm.com> * Author: Yvonne Yip <y@palm.com>
* *
...@@ -14,8 +12,8 @@ ...@@ -14,8 +12,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
*/ */
#ifndef __ASM_ARM_ARCH_TEGRA_SDHCI_H #ifndef __PLATFORM_DATA_TEGRA_SDHCI_H
#define __ASM_ARM_ARCH_TEGRA_SDHCI_H #define __PLATFORM_DATA_TEGRA_SDHCI_H
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册