summaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2011-10-10 22:22:45 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2011-10-13 19:49:37 (GMT)
commit25fcf2b7f1f65d2cc12182ced3ccd47576970be4 (patch)
tree05c65aa94c96a817e87190753eee67656a902f89 /ipc/util.c
parent78a43158724793f9dc25f1e4c866393654704b87 (diff)
downloadlinux-25fcf2b7f1f65d2cc12182ced3ccd47576970be4.tar.xz
gpio-pca953x: fix gpio_base
gpio_base was set to 0 if no system platform data or open firmware platform data was provided. This led to conflicts, if any other gpiochip with a gpiobase of 0 was instantiated already. Setting it to -1 will automatically use the first one available. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions