From patchwork Sat Sep 20 16:53:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 4942041 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D3BFEBEEA6 for ; Sat, 20 Sep 2014 16:54:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E32552021A for ; Sat, 20 Sep 2014 16:54:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1479F201F7 for ; Sat, 20 Sep 2014 16:54:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755958AbaITQyj (ORCPT ); Sat, 20 Sep 2014 12:54:39 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:54074 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754215AbaITQyi (ORCPT ); Sat, 20 Sep 2014 12:54:38 -0400 Received: by mail-wi0-f178.google.com with SMTP id z2so959184wiv.11 for ; Sat, 20 Sep 2014 09:54:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Tjk127PBAUAVPtHReodJ9cuXnHgafjzFphPcqyO5QFg=; b=DpR8mBLFOrEZuNFypKeOgT0t0JNoMJA9bNoQyZPEe2fNOTr3toM4pqpFGPKQFMmVAB ZvSxoSHhdQYcaWL7TzXJOTDqoN+//BHWtrYQIcTeUMHbBK4kwMOofsYc3RkRRpUx9wue sHkajWr9JEyjMvFopqq23Ea5GINLQbL9og1SXG2AgLeieTuLmXw4OH9AnXIJnAy1BHc8 yQq0gDM1eIPeMGME8TzLnOJxu6Y7nLoLDrtQ+xWSFo0OiqJeDeBYVzrtSLkoBA+UKu3h a+Sq7wRPxEomuVxpr7/rP5gcIpY2KKguGnqSXmH040d2Mu9WjGQzDOP3vV5XXxcp2pMB XBiQ== X-Gm-Message-State: ALoCoQkQjPobH0+63NBRQPICH198B1vndYBRwJ4HsDxK0jXhyS11Cn+8pV1UgttOSQeyQTyDq2q4 X-Received: by 10.194.223.2 with SMTP id qq2mr1251600wjc.122.1411232077211; Sat, 20 Sep 2014 09:54:37 -0700 (PDT) Received: from localhost.localdomain (88-96-238-14.dsl.zen.co.uk. [88.96.238.14]) by mx.google.com with ESMTPSA id s1sm5938925wiw.6.2014.09.20.09.54.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Sep 2014 09:54:36 -0700 (PDT) From: Ezequiel Garcia To: Brian Norris , Roger Quadros Cc: , , Tony Lindgren , Ezequiel Garcia Subject: [PATCH v4 3/5] mtd: nand: Move ELM driver and rename as omap_elm Date: Sat, 20 Sep 2014 17:53:14 +0100 Message-Id: <1411231996-6387-4-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411231996-6387-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1411231996-6387-1-git-send-email-ezequiel@vanguardiasur.com.ar> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ELM driver is only used by the OMAP NAND driver, so let's move it to the nand/ directory. Additionally, let's rename it to a less confusing name, so the module is built with a meaningful name, instead of the previous 'elm.ko'. Acked-by: Roger Quadros Signed-off-by: Ezequiel Garcia --- drivers/mtd/devices/Makefile | 1 - drivers/mtd/nand/Makefile | 1 + drivers/mtd/{devices/elm.c => nand/omap_elm.c} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename drivers/mtd/{devices/elm.c => nand/omap_elm.c} (100%) diff --git a/drivers/mtd/devices/elm.c b/drivers/mtd/nand/omap_elm.c similarity index 100% rename from drivers/mtd/devices/elm.c rename to drivers/mtd/nand/omap_elm.c diff --git a/drivers/mtd/devices/Makefile b/drivers/mtd/devices/Makefile index c68868f..f0b0e61 100644 --- a/drivers/mtd/devices/Makefile +++ b/drivers/mtd/devices/Makefile @@ -12,7 +12,6 @@ obj-$(CONFIG_MTD_LART) += lart.o obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o obj-$(CONFIG_MTD_M25P80) += m25p80.o -obj-$(CONFIG_MTD_NAND_OMAP_BCH) += elm.o obj-$(CONFIG_MTD_SPEAR_SMI) += spear_smi.o obj-$(CONFIG_MTD_SST25L) += sst25l.o obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index a035e7c..b3237b7 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_MTD_NAND_NDFC) += ndfc.o obj-$(CONFIG_MTD_NAND_ATMEL) += atmel_nand.o obj-$(CONFIG_MTD_NAND_GPIO) += gpio.o obj-$(CONFIG_MTD_NAND_OMAP2) += omap2.o +obj-$(CONFIG_MTD_NAND_OMAP_BCH) += omap_elm.o obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o