On Wed, Feb 09 2011, Dima Zavin wrote:
I don't like this solution of putting the magicly named array into the
board file. What if I want multiple boards to be built into the same
kernel? What if I want multiple tables in case I have different
revisions of the board?
Especially since there is a push by some to be able to build everything
into a single kernel.
The more correct way would be to add a function to gpiomux.c to be
able to apply a list of gpiomux configs, something like:
int msm_gpiomux_config_table(struct msm_gpiomux_cfg *table, int num);
Good idea. Although, I think a name like msm_gpiomux_add_configs()
might fit better with other namings.
David