summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/mux.c
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2010-03-25 17:43:48 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-05-06 15:02:04 -0700
commit3821d10a538ac9d750987badd404c8f860ffa774 (patch)
treea6905f55068282d00d47d631b65ccc76d599d352 /arch/arm/mach-davinci/mux.c
parent52958be3ad6e2b72a5943718f339ed4e11685739 (diff)
downloadlinux-3821d10a538ac9d750987badd404c8f860ffa774.tar.gz
linux-3821d10a538ac9d750987badd404c8f860ffa774.tar.bz2
linux-3821d10a538ac9d750987badd404c8f860ffa774.zip
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/mux.c b/arch/arm/mach-davinci/mux.c
index c942c893a2eb..e9d530a8f79f 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;