]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dt: add of_get_child_count helper function
authorDong Aisheng <dong.aisheng@linaro.org>
Fri, 27 Apr 2012 03:36:20 +0000 (11:36 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 May 2012 23:14:40 +0000 (01:14 +0200)
commit183f1d0c6450ee032d97a2d01ed5eb00e0dbaa49
treeac3cd2f9a264f7f5c5ad15ec56eda8e27cc18573
parent4650b7cbea4db73f459181f67f939b510e3a17b2
dt: add of_get_child_count helper function

Currently most code to get child count in kernel are almost same,
add a helper to implement this function for dt to use.

Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/of.h