summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/devices.h
diff options
context:
space:
mode:
authorStephen Warren2011-10-12 00:16:12 +0200
committerOlof Johansson2011-10-12 02:19:56 +0200
commit940dd96fe9dec5b6ba4bb7ebc33212ff66db243c (patch)
tree50b4f28a9740e14211bae3751e6c7ae3d38e8402 /arch/arm/mach-tegra/devices.h
parentLinux 3.1-rc9 (diff)
downloadkernel-qcow2-linux-940dd96fe9dec5b6ba4bb7ebc33212ff66db243c.tar.gz
kernel-qcow2-linux-940dd96fe9dec5b6ba4bb7ebc33212ff66db243c.tar.xz
kernel-qcow2-linux-940dd96fe9dec5b6ba4bb7ebc33212ff66db243c.zip
arm/tegra: Prep boards for gpio/pinmux conversion to pdevs
The Tegra GPIO driver will be converted from static registration via postcore_initcall() to be a platform device later in this patch series. A new Tegra pinmux platform device will also be added. Prepare for this by modifying all boards to register the appropriate platform devices before-hand, so that when the drivers are converted, those devices will be probed, and git bisectability will be maintained. v2: Add resource definitions for GPIO and pinmux Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/devices.h')
-rw-r--r--arch/arm/mach-tegra/devices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.h b/arch/arm/mach-tegra/devices.h
index 4a7dc0a097d6..873ecb2f8ae6 100644
--- a/arch/arm/mach-tegra/devices.h
+++ b/arch/arm/mach-tegra/devices.h
@@ -21,6 +21,8 @@
#include <linux/platform_device.h>
+extern struct platform_device tegra_gpio_device;
+extern struct platform_device tegra_pinmux_device;
extern struct platform_device tegra_sdhci_device1;
extern struct platform_device tegra_sdhci_device2;
extern struct platform_device tegra_sdhci_device3;