aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/board-pinmux.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-04-11 14:53:09 -0400
committerStephen Warren <swarren@nvidia.com>2012-04-18 12:26:40 -0400
commit52f48fe00fcad83cd5fc4c961d851a3530fe032b (patch)
tree68fdb2a2580914f17b74374ad6b390027824c389 /arch/arm/mach-tegra/board-pinmux.h
parentecc295bbab6b9d1baf0c0a8c2d5a945b201df547 (diff)
pinctrl: tegra: refactor probe handling
Rather than having a single tegra-pinctrl driver that determines whether it's running on Tegra20 or Tegra30, instead have separate drivers for each that call into utility functions to implement the majority of the driver. This change is based on review feedback of the SPEAr pinctrl driver, which had originally copied to Tegra driver structure. This requires that the two drivers have unique names. Update a couple spots in arch/arm/mach-tegra for the name change. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-tegra/board-pinmux.h')
-rw-r--r--arch/arm/mach-tegra/board-pinmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-pinmux.h b/arch/arm/mach-tegra/board-pinmux.h
index 45b5ad8dc6de..c5f3f3381e86 100644
--- a/arch/arm/mach-tegra/board-pinmux.h
+++ b/arch/arm/mach-tegra/board-pinmux.h
@@ -19,7 +19,7 @@
19 19
20#include <mach/pinconf-tegra.h> 20#include <mach/pinconf-tegra.h>
21 21
22#define PINMUX_DEV "tegra-pinmux" 22#define PINMUX_DEV "tegra20-pinctrl"
23 23
24#define TEGRA_MAP_MUX(_group_, _function_) \ 24#define TEGRA_MAP_MUX(_group_, _function_) \
25 PIN_MAP_MUX_GROUP_HOG_DEFAULT(PINMUX_DEV, _group_, _function_) 25 PIN_MAP_MUX_GROUP_HOG_DEFAULT(PINMUX_DEV, _group_, _function_)