diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-03-25 17:43:48 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-06 15:02:04 -0700 |
commit | 3821d10a538ac9d750987badd404c8f860ffa774 (patch) | |
tree | a6905f55068282d00d47d631b65ccc76d599d352 /arch/arm/mach-davinci/mux.c | |
parent | 52958be3ad6e2b72a5943718f339ed4e11685739 (diff) | |
download | op-kernel-dev-3821d10a538ac9d750987badd404c8f860ffa774.zip op-kernel-dev-3821d10a538ac9d750987badd404c8f860ffa774.tar.gz |
Davinci: promote da8xx_pinmux_setup()
Rename da8xx_pinmux_setup() to davinci_cfg_reg_list() and promote it for use in
other SOCs that may need the ability to configure multiple pins in one shot.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/mux.c')
-rw-r--r-- | arch/arm/mach-davinci/mux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/mux.c b/arch/arm/mach-davinci/mux.c index c942c89..e9d530a 100644 --- a/arch/arm/mach-davinci/mux.c +++ b/arch/arm/mach-davinci/mux.c @@ -21,7 +21,6 @@ #include <mach/mux.h> #include <mach/common.h> -#include <mach/da8xx.h> /* * Sets the DAVINCI MUX register based on the table @@ -92,7 +91,7 @@ int __init_or_module davinci_cfg_reg(const unsigned long index) } EXPORT_SYMBOL(davinci_cfg_reg); -int da8xx_pinmux_setup(const short pins[]) +int __init_or_module davinci_cfg_reg_list(const short pins[]) { int i, error = -EINVAL; |