summaryrefslogtreecommitdiffstats
path: root/drivers/of/of_pci.c
diff options
context:
space:
mode:
authorBenoit Cousson2011-12-05 15:23:54 +0100
committerRob Herring2011-12-19 22:40:11 +0100
commit88af7f58c6f1fa28d617392c791f11317bcb590d (patch)
tree4787f62c5a7786819682a995c114506c33053e4a /drivers/of/of_pci.c
parentOF/device-tree: Add some entries to vendor-prefixes.txt (diff)
downloadkernel-qcow2-linux-88af7f58c6f1fa28d617392c791f11317bcb590d.tar.gz
kernel-qcow2-linux-88af7f58c6f1fa28d617392c791f11317bcb590d.tar.xz
kernel-qcow2-linux-88af7f58c6f1fa28d617392c791f11317bcb590d.zip
of/base: Take NULL string into account for property with multiple strings
The current implementation just ignore any NULL string inserted in a multiple strings property. In some cases we can have a property with a fix number of strings but not necessarily used, like for example in a list of valid pinmux modes. prop = "uart_rx", "uart_tx", "", "", "safe_mode"; Do no skip NULL string and take them into account in of_property_read_string_index and of_property_count_strings. Reported-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'drivers/of/of_pci.c')
0 files changed, 0 insertions, 0 deletions