diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-10-12 02:16:12 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-10-12 04:19:56 +0400 |
commit | 940dd96fe9dec5b6ba4bb7ebc33212ff66db243c (patch) | |
tree | 50b4f28a9740e14211bae3751e6c7ae3d38e8402 /arch/arm/mach-tegra/devices.h | |
parent | 976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff) | |
download | linux-940dd96fe9dec5b6ba4bb7ebc33212ff66db243c.tar.xz |
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.h | 2 |
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; |