From patchwork Wed Jul 1 19:16:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Tjernlund X-Patchwork-Id: 29364 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 0C4E2B70D3 for ; Thu, 2 Jul 2009 05:24:34 +1000 (EST) Received: by ozlabs.org (Postfix) id F413FDDD1C; Thu, 2 Jul 2009 05:24:33 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (bilbo.ozlabs.org [203.10.76.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bilbo.ozlabs.org", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id F1773DDD04 for ; Thu, 2 Jul 2009 05:24:33 +1000 (EST) Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by bilbo.ozlabs.org (Postfix) with ESMTP id E2BC1B73BD for ; Thu, 2 Jul 2009 05:24:08 +1000 (EST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 5CC99B70CB for ; Thu, 2 Jul 2009 05:24:03 +1000 (EST) Received: by ozlabs.org (Postfix) id 47DD0DDD1B; Thu, 2 Jul 2009 05:24:03 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org X-Greylist: delayed 461 seconds by postgrey-1.31 at ozlabs; Thu, 02 Jul 2009 05:24:02 EST Received: from gw1.transmode.se (gw1.transmode.se [213.115.205.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E1128DDD04 for ; Thu, 2 Jul 2009 05:24:02 +1000 (EST) Received: from tmnt04.transmode.se (tmnt04.transmode.se [192.168.46.15]) by gw1.transmode.se (Postfix) with ESMTP id 74077650009 for ; Wed, 1 Jul 2009 21:15:56 +0200 (CEST) Received: from gentoo-jocke.transmode.se ([192.168.1.15]) by tmnt04.transmode.se over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Wed, 1 Jul 2009 21:16:15 +0200 Received: from gentoo-jocke.transmode.se (localhost.localdomain [127.0.0.1]) by gentoo-jocke.transmode.se (8.14.0/8.14.0) with ESMTP id n61JGFnf010698; Wed, 1 Jul 2009 21:16:15 +0200 Received: (from jocke@localhost) by gentoo-jocke.transmode.se (8.14.0/8.14.0/Submit) id n61JGCR6010697; Wed, 1 Jul 2009 21:16:12 +0200 From: Joakim Tjernlund To: avorontsov@ru.mvista.com, linuxppc-dev@ozlabs.org Subject: [PATCH] [spi_mpc83xx] Always enable legacy support. Date: Wed, 1 Jul 2009 21:16:12 +0200 Message-Id: <1246475772-10645-1-git-send-email-Joakim.Tjernlund@transmode.se> X-Mailer: git-send-email 1.6.2.3 X-OriginalArrivalTime: 01 Jul 2009 19:16:15.0214 (UTC) FILETIME=[674590E0:01C9FA80] Cc: Joakim Tjernlund X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org There are out of tree boards that need this legacy support too. Signed-off-by: Joakim Tjernlund --- 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) {