powerpc/85xx: define SRIO LIODN functions only if SRIO is defined
authorTimur Tabi <timur@freescale.com>
Fri, 5 Oct 2012 09:48:52 +0000 (09:48 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 19:31:13 +0000 (14:31 -0500)
commitfd946040f1398ce9ff58a62cb9971b0f560be028
tree1007acea491650764abe9b4cf87344342b8ee9fc
parente389a377ee3ad8d137c9af749ddf2354be0d4a7c
powerpc/85xx: define SRIO LIODN functions only if SRIO is defined

The P5040 does not have SRIO support, so there are no SRIO LIODNs.
Therefore, the functions that set the SRIO LIODNs should not be compiled.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/liodn.c
arch/powerpc/include/asm/fsl_liodn.h