]> 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)
commitde1a8e9741a7be29893b6a0eb340b8459f05bb88
treee9466bdc1d35d86bf0ed1fcdd3b1a1fedffd7e68
parentae35b9aa4a3f7752f4e92e71f8082b00bdc73996
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: db56622973db4e4e ("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