linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [spi_mpc83xx] Always enable legacy support.
@ 2009-07-01 19:16 Joakim Tjernlund
  2009-07-01 21:12 ` Anton Vorontsov
  0 siblings, 1 reply; 3+ messages in thread
From: Joakim Tjernlund @ 2009-07-01 19:16 UTC (permalink / raw)
  To: avorontsov, linuxppc-dev; +Cc: Joakim Tjernlund

There are out of tree boards that need this legacy support too.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-02  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 19:16 [PATCH] [spi_mpc83xx] Always enable legacy support Joakim Tjernlund
2009-07-01 21:12 ` Anton Vorontsov
2009-07-02  6:18   ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).