summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/mux.c
diff options
context:
space:
mode:
authorCyril Chemparathy2010-03-25 22:43:48 +0100
committerKevin Hilman2010-05-07 00:02:04 +0200
commit3821d10a538ac9d750987badd404c8f860ffa774 (patch)
treea6905f55068282d00d47d631b65ccc76d599d352 /arch/arm/mach-davinci/mux.c
parentDavinci: support LPSC SwRstDisable state (diff)
downloadkernel-qcow2-linux-3821d10a538ac9d750987badd404c8f860ffa774.tar.gz
kernel-qcow2-linux-3821d10a538ac9d750987badd404c8f860ffa774.tar.xz
kernel-qcow2-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;