From patchwork Thu Oct 16 23:15:09 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 4806 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D5675DDDF6 for ; Fri, 17 Oct 2008 17:02:42 +1100 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1KqiNf-0003wU-HP; Fri, 17 Oct 2008 06:00:11 +0000 Received: from fg-out-1718.google.com ([72.14.220.156]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1Kqc3u-00049M-ES for linux-mtd@lists.infradead.org; Thu, 16 Oct 2008 23:15:23 +0000 Received: by fg-out-1718.google.com with SMTP id l26so165587fgb.26 for ; Thu, 16 Oct 2008 16:15:22 -0700 (PDT) Received: by 10.86.26.1 with SMTP id 1mr3254246fgz.35.1224198922112; Thu, 16 Oct 2008 16:15:22 -0700 (PDT) Received: from localhost.localdomain (ppp91-122-94-17.pppoe.avangarddsl.ru [91.122.94.17]) by mx.google.com with ESMTPS id 4sm3178973fgg.4.2008.10.16.16.15.20 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Oct 2008 16:15:21 -0700 (PDT) From: Dmitry Baryshkov To: linux-mtd@lists.infradead.org Subject: [PATCH 6/6] [MTD] sharpsl-nand: move registration to board code Date: Fri, 17 Oct 2008 03:15:09 +0400 Message-Id: <1224198909-17568-6-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1224198909-17568-5-git-send-email-dbaryshkov@gmail.com> References: <20081016231127.GA17131@doriath.ww600.siemens.net> <1224198909-17568-1-git-send-email-dbaryshkov@gmail.com> <1224198909-17568-2-git-send-email-dbaryshkov@gmail.com> <1224198909-17568-3-git-send-email-dbaryshkov@gmail.com> <1224198909-17568-4-git-send-email-dbaryshkov@gmail.com> <1224198909-17568-5-git-send-email-dbaryshkov@gmail.com> X-Bad-Reply: References and In-Reply-To but no 'Re:' in Subject. X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 17 Oct 2008 01:59:51 -0400 Cc: Dmitry Baryshkov , Eric Miao X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Finally move registration of sharpsl-nand device to board-specific code. sharpsl nand driver is now clean and simple. Signed-off-by: Dmitry Baryshkov --- arch/arm/mach-pxa/corgi.c | 54 +++++++++++++++++++++++++++ arch/arm/mach-pxa/poodle.c | 51 ++++++++++++++++++++++++++ arch/arm/mach-pxa/spitz.c | 76 ++++++++++++++++++++++++++++++++++++++ drivers/mtd/nand/sharpsl.c | 87 +------------------------------------------- 4 files changed, 182 insertions(+), 86 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index e703a8d..a46b785 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c @@ -21,6 +21,7 @@ #include #include #include +#include #include