]> git.baikalelectronics.ru Git - kernel.git/commit
of/dynamic: Fix test for PPC_PSERIES
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Jun 2015 09:34:41 +0000 (11:34 +0200)
committerGrant Likely <grant.likely@linaro.org>
Fri, 5 Jun 2015 01:39:28 +0000 (10:39 +0900)
commita01c3559d7d084684ea5fa4b44247f21e3a62a84
treee9466bdc1d35d86bf0ed1fcdd3b1a1fedffd7e68
parent0afb5eefb4ecea4b42269b2698a33a7b99f5324e
of/dynamic: Fix test for PPC_PSERIES

"IS_ENABLED(PPC_PSERIES)" always evaluates to false, as IS_ENABLED() is
supposed to be used with the full Kconfig symbol name, including the
"CONFIG_" prefix.

Add the missing "CONFIG_" prefix to fix this.

Fixes: 11418b5f03687ecf ("of: Move dynamic node fixups out of powerpc and into common code")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: stable@vger.kernel.org #+3.17
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/dynamic.c