OSDN Git Service

of/dynamic: Fix test for PPC_PSERIES
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Jun 2015 09:34:41 +0000 (11:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jun 2015 00:03:33 +0000 (17:03 -0700)
commite3bb98bb03148547bdd76d31ae1e275ae7942dec
tree6a5c030777f56049f5cd8e4ea0c7c72c9f5b6eb8
parentc0a04ee8cd0e7c8bb3cdb9f206f5be7697d23b83
of/dynamic: Fix test for PPC_PSERIES

commit f76502aa9140ec338a59487218bf70a9c9e92b8f upstream.

"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>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/dynamic.c