]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: fix linkstation and storcenter compilation breakage
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Mar 2009 13:25:06 +0000 (13:25 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 9 Mar 2009 16:10:58 +0000 (11:10 -0500)
commited75d8635abde0c43d26152014e386706475120e
tree3acde8820883644f6848d9868bc5bb991af120a2
parent368a12117dd8abf6eaefa37c21ac313b517128b9
powerpc: fix linkstation and storcenter compilation breakage

Defining flash partition table in platform code is deprecated, and due to
recent changes linkstation and storcenter do not compile any more with
their default configurations because of undefined references to
physmap_set_partitions(). Instead of fixing them by using the correct
kernel configuration macro in preprocessor conditional, remove partition
table definitions altogether. Instead add support for partition definition
on the command-line and in device tree to the default configurations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/configs/linkstation_defconfig
arch/powerpc/configs/storcenter_defconfig
arch/powerpc/platforms/embedded6xx/linkstation.c
arch/powerpc/platforms/embedded6xx/storcenter.c