From patchwork Thu Sep 11 13:47:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 4887211 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 38C15C0338 for ; Thu, 11 Sep 2014 13:48:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAF662024F for ; Thu, 11 Sep 2014 13:48:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43DE220266 for ; Thu, 11 Sep 2014 13:48:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753291AbaIKNsp (ORCPT ); Thu, 11 Sep 2014 09:48:45 -0400 Received: from mail-qc0-f180.google.com ([209.85.216.180]:36336 "EHLO mail-qc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751138AbaIKNsp (ORCPT ); Thu, 11 Sep 2014 09:48:45 -0400 Received: by mail-qc0-f180.google.com with SMTP id c9so21363652qcz.11 for ; Thu, 11 Sep 2014 06:48:44 -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=qkuh7YgrpUnMdMqkos9DDARr39L7xcmfiqQ7eFbFu2c=; b=du1+XxPfaAqeSKAhDUBQW0AbvDHXDVfs3utMlY14dOuFtXT3z9C0TgVJXpvI+s/NZx kohDNNUTxuXM4iXWs/5wpDMXrlN1kK/MDFCaJQnPDSE8OnOqFJp1U651HPRhDPI4fvIH hmwH22q2aguFLCYIAaJELes8j+REcbnd8gYxhsrAjHtjLf7fE49XrWloHEDui12cE16p ffZZr/m57Jb8r11IPFW4l8jstSkzBZ3SuTM6V4qHDDKJGU3/JdrlP2rtYhA92pN7Ze3L xZmrnYU9A1JseFmiw9+5Brhh/EL6/nPzRwfnJBu3SMoo0oUhqjwIvjq799ki3EBaCjOO SaPA== X-Gm-Message-State: ALoCoQkQRkqDvkE/4cfxIjj3cHKO1KqdUb3Z+OobgT2UAuN40WdqWELKoqUItFdePrulOIUtoGfA X-Received: by 10.140.82.213 with SMTP id h79mr1531588qgd.51.1410443323940; Thu, 11 Sep 2014 06:48:43 -0700 (PDT) Received: from localhost.localdomain (host195.181-8-55.telecom.net.ar. [181.8.55.195]) by mx.google.com with ESMTPSA id 107sm647449qgi.19.2014.09.11.06.48.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Sep 2014 06:48:43 -0700 (PDT) From: Ezequiel Garcia To: Roger Quadros , Brian Norris Cc: Tony Lindgren , , , Ezequiel Garcia Subject: [PATCH 1/3] mtd: nand: Move ELM driver and rename as omap_elm Date: Thu, 11 Sep 2014 10:47:02 -0300 Message-Id: <1410443224-18477-2-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1410443224-18477-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1410443224-18477-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=-9.4 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'. Signed-off-by: Ezequiel Garcia Acked-by: Roger Quadros --- 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