From: Stephen Warren Date: Wed, 4 Apr 2012 03:53:56 +0000 (-0600) Subject: pinctrl: fix build when CONFIG_OF && !CONFIG_PINCTRL X-Git-Tag: v3.5-rc1~176^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eafeb7a44aa8f79c992b9d557ede740c739f4b25;p=pandora-kernel.git pinctrl: fix build when CONFIG_OF && !CONFIG_PINCTRL pinctrl/devicetree.c won't compile when !CONFIG_PINCTRL, since the pinctrl headers don't declare some types when !PINCTRL. Make sure pinctrl/Makefile only attempts to compile devicetree.c when OF && PINCTRL. Acked-by: Dong Aisheng Signed-off-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed