diff options
author | Jonas Gorski <jogo@openwrt.org> | 2016-01-18 10:46:50 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2016-01-18 10:46:50 +0000 |
commit | 74aca7d913f48d65b1c46f4772328a8459d52b44 (patch) | |
tree | 58b1587663d8c11014890d076a77dab9cb813c33 /package | |
parent | 2b3b4c95f1b398adc20b8ab23d4e169561a8e1ac (diff) | |
download | upstream-74aca7d913f48d65b1c46f4772328a8459d52b44.tar.gz upstream-74aca7d913f48d65b1c46f4772328a8459d52b44.tar.bz2 upstream-74aca7d913f48d65b1c46f4772328a8459d52b44.zip |
brcm63xx: fix platform gpio lookups for gpios < 32
Overwriting static strings is never a good idea, especially expecting
identical strings to be stored in different memory locations.
This caused the lookups to always return the second chip's name. Fix
this by just initializing the lookup with the right values, so we
don't need to modify the strings at all.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48303
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions