From: Olof Johansson Date: Sun, 7 Oct 2012 17:40:54 +0000 (-0700) Subject: of: add stub of_get_child_by_name for non-OF builds X-Git-Tag: v3.7-rc2~29^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c040c99b1e3f6d97ca3d993878549aac5fd2c8;p=pandora-kernel.git of: add stub of_get_child_by_name for non-OF builds Fixes build error on s3c6400_defconfig, introduced by commit 06455bbcab76e5f5225de5f38ab948d37a1c3587, "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 Signed-off-by: Rob Herring --- Reading git-diff-tree failed