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 | f05fe6d2d3bede4b4e2e86197c5bc56406847869 (patch) | |
tree | 44e4fb4c560eaf492eed28f62ea334dcf5fada86 /target/linux/malta/le64 | |
parent | afc6775e00a135748eb430de79edea4d8bd957c2 (diff) | |
download | master-187ad058-f05fe6d2d3bede4b4e2e86197c5bc56406847869.tar.gz master-187ad058-f05fe6d2d3bede4b4e2e86197c5bc56406847869.tar.bz2 master-187ad058-f05fe6d2d3bede4b4e2e86197c5bc56406847869.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/malta/le64')
0 files changed, 0 insertions, 0 deletions