Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965117Ab3DKASe (ORCPT ); Wed, 10 Apr 2013 20:18:34 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:57793 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935719Ab3DKASc (ORCPT ); Wed, 10 Apr 2013 20:18:32 -0400 MIME-Version: 1.0 In-Reply-To: <1365638712-1028578-16-git-send-email-arnd@arndb.de> References: <1365638712-1028578-1-git-send-email-arnd@arndb.de> <1365638712-1028578-16-git-send-email-arnd@arndb.de> Date: Thu, 11 Apr 2013 09:18:32 +0900 X-Google-Sender-Auth: Flbrvk-zw2vD6MjchcrL1H-NUEk Message-ID: Subject: Re: [PATCH 15/30] mtd: onenand/samsung: make regs-onenand.h file local From: Kyungmin Park To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kukjin Kim , linux-mtd@lists.infradead.org, David Woodhouse Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2260 Lines: 65 Thanks Arnd. On Thu, Apr 11, 2013 at 9:04 AM, Arnd Bergmann wrote: > Nothing uses the NAND register definitions other than the > actual driver, so we can move the header file into the > same local directory, which lets us build it in a multiplatform > configuration. > > Signed-off-by: Arnd Bergmann > Cc: linux-mtd@lists.infradead.org > Cc: Kyungmin Park Acked-by: Kyungmin Park > Cc: David Woodhouse > --- > drivers/mtd/onenand/samsung.c | 4 ++-- > .../include/plat/regs-onenand.h => drivers/mtd/onenand/samsung.h | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) > rename arch/arm/plat-samsung/include/plat/regs-onenand.h => drivers/mtd/onenand/samsung.h (98%) > > diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c > index 33f2a8f..2cf7408 100644 > --- a/drivers/mtd/onenand/samsung.c > +++ b/drivers/mtd/onenand/samsung.c > @@ -23,11 +23,11 @@ > #include > #include > #include > +#include > > #include > -#include > > -#include > +#include "samsung.h" > > enum soc_type { > TYPE_S3C6400, > diff --git a/arch/arm/plat-samsung/include/plat/regs-onenand.h b/drivers/mtd/onenand/samsung.h > similarity index 98% > rename from arch/arm/plat-samsung/include/plat/regs-onenand.h > rename to drivers/mtd/onenand/samsung.h > index 930ea8b..c4a80e6 100644 > --- a/arch/arm/plat-samsung/include/plat/regs-onenand.h > +++ b/drivers/mtd/onenand/samsung.h > @@ -11,8 +11,6 @@ > #ifndef __SAMSUNG_ONENAND_H__ > #define __SAMSUNG_ONENAND_H__ > > -#include > - > /* > * OneNAND Controller > */ > -- > 1.8.1.2 > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/