From: Shawn Guo Date: Thu, 21 Feb 2013 11:04:45 +0000 (+0000) Subject: PM / OPP: fix condition for empty of_init_opp_table() X-Git-Tag: v3.9-rc1~81^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6561bb206aae9de8eee4516549339ee96386b87;p=pandora-kernel.git PM / OPP: fix condition for empty of_init_opp_table() randconfig build reports the following error which is caused by CONFIG_PM_OPP being unset. CC arch/arm/mach-imx/mach-imx6q.o arch/arm/mach-imx/mach-imx6q.c: In function ‘imx6q_opp_init’: arch/arm/mach-imx/mach-imx6q.c:248:2: error: implicit declaration of function ‘of_init_opp_table’ [-Werror=implicit-function-declaration] Fix the error by giving a more correct condition for empty of_init_opp_table() implementation. Reported-by: Rob Herring Signed-off-by: Shawn Guo Acked-by: Nishanth Menon Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed