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)
commitf76502aa9140ec338a59487218bf70a9c9e92b8f
treee9466bdc1d35d86bf0ed1fcdd3b1a1fedffd7e68
parentc65b99f046843d2455aa231747b5a07a999a9f3d
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: a25095d451ece23b ("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