]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/iseries: Fix unused function warning in iSeries DT code
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 11 Jun 2009 02:18:26 +0000 (02:18 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:27:37 +0000 (13:27 +1000)
commitd5d432d09ff4ab21cb2f970acd440bea653f7923
treeb03634a996611724c46865122cb535ff8da20321
parent2209ff6d76d4f4d35a5f680c7bb5f665acac974a
powerpc/iseries: Fix unused function warning in iSeries DT code

If CONFIG_BLK_DEV_INITRD is unset dt_prop_u64() is unused, which
causes a warning. We don't really want to tie the definition to
BLK_DEV_INITRD, so mark it as maybe unused.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/iseries/dt.c