There are out of tree boards that need this legacy support too. Signed-off-by: Joakim Tjernlund <joakim.tjernl...@transmode.se> --- I hope this is OK. I just discovered that spi didn't work for me in 2.6.30 and I have no time to work on coverting my boards. I don't have a clue either on how to do that, any pointers how to add a few spidev devices via OF?
drivers/spi/spi_mpc83xx.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index f4573a9..d167577 100644 --- a/drivers/spi/spi_mpc83xx.c +++ b/drivers/spi/spi_mpc83xx.c @@ -882,7 +882,6 @@ static struct of_platform_driver of_mpc83xx_spi_driver = { .remove = __devexit_p(of_mpc83xx_spi_remove), }; -#ifdef CONFIG_MPC832x_RDB /* * XXX XXX XXX * This is "legacy" platform driver, was used by the MPC8323E-RDB boards @@ -941,10 +940,6 @@ static void __exit legacy_driver_unregister(void) return; platform_driver_unregister(&mpc83xx_spi_driver); } -#else -static void __init legacy_driver_register(void) {} -static void __exit legacy_driver_unregister(void) {} -#endif /* CONFIG_MPC832x_RDB */ static int __init mpc83xx_spi_init(void) { -- 1.6.2.3 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev