]> git.baikalelectronics.ru Git - kernel.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)
commit2a6f7f43acb267a5407bcb7541c9091a68ff77ac
tree3acde8820883644f6848d9868bc5bb991af120a2
parent5bbe266f69f919ab2badb9d576b1e8135927d7ba
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