]> git.baikalelectronics.ru Git - kernel.git/commit
of: add stub of_get_child_by_name for non-OF builds
authorOlof Johansson <olof@lixom.net>
Sun, 7 Oct 2012 17:40:54 +0000 (10:40 -0700)
committerRob Herring <rob.herring@calxeda.com>
Wed, 17 Oct 2012 20:53:00 +0000 (15:53 -0500)
commit30d55449ec2f65809af867a7d7d6d4d779020f25
tree8a6cfffc748517cc61e281d47d105e8930e77c6e
parent1347743ab85deacc11378ae9a8eddeeaf6e10b63
of: add stub of_get_child_by_name for non-OF builds

Fixes build error on s3c6400_defconfig, introduced by commit
dba3730a89c18b162455671d431b154a34059a18, "dt/s3c64xx/spi: Use
of_get_child_by_name to get a named child".

drivers/spi/spi-s3c64xx.c: In function 's3c64xx_get_slave_ctrldata':
drivers/spi/spi-s3c64xx.c:838:2: error: implicit declaration of function
    'of_get_child_by_name' [-Werror=implicit-function-declaration]

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
include/linux/of.h