powerpc/85xx: Fix compile warnings/errors if CONFIG_SYS_DPAA_FMAN isn't set
authorKumar Gala <galak@kernel.crashing.org>
Sun, 31 Jul 2011 17:55:39 +0000 (12:55 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:04 +0000 (19:01 -0500)
commite2d0f255cf730ba56c6531a1bdadd347800d9cca
tree507f04c3e830de93f94d21abc500e288696ba17f
parentbc6bbd6be85973359e89f53e3bfbba2a3549da09
powerpc/85xx: Fix compile warnings/errors if CONFIG_SYS_DPAA_FMAN isn't set

Add ifdef protection around fman specific code related to device tree
clock setup.  If we dont have CONFIG_SYS_DPAA_FMAN defined we shouldn't
be executing this code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/portals.c