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>
This commit is contained in:

committed by
Kevin Hilman

parent
52958be3ad
commit
3821d10a53
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user