]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] 4xx: Fix compiler warning on DCR_NATIVE only builds
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 20 May 2008 12:59:23 +0000 (07:59 -0500)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 29 May 2008 12:06:56 +0000 (07:06 -0500)
commit0723abd0b2c9d4603b8c51d6615800c2439a328e
tree702355fb17ff1c10b9e4dfaeaea513115af87bd4
parent4ebef31fa6e013e5cd3d4522e6018eb6d55046be
[POWERPC] 4xx: Fix compiler warning on DCR_NATIVE only builds

With the recent DCR code rework, we get a compiler warning about
find_dcr_parent being defined but not used.  This fixes it by only defining
the function if CONFIG_PPC_DCR_MMIO is set.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/sysdev/dcr.c