From patchwork Mon Nov 24 12:44:36 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Please fix or remove OMAP2 onenand driver Date: Mon, 24 Nov 2008 02:44:36 -0000 From: Adrian Hunter X-Patchwork-Id: 10393 Message-Id: <492AA1B4.9030803@nokia.com> To: ext Russell King - ARM Linux Cc: dwmw2@infradead.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org ext Russell King - ARM Linux wrote: > On Mon, Nov 24, 2008 at 01:37:05PM +0200, Adrian Hunter wrote: >> From: Adrian Hunter >> Date: Mon, 24 Nov 2008 13:34:53 +0200 >> Subject: [PATCH] MTD: OMAP: OneNAND: header file relocation >> >> Signed-off-by: Adrian Hunter > > Thanks. Only two comments (see below). > >> --- >> drivers/mtd/onenand/omap2.c | 12 ++++++------ >> 1 files changed, 6 insertions(+), 6 deletions(-) >> >> diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c >> index e39b21d..28034ef 100644 >> --- a/drivers/mtd/onenand/omap2.c >> +++ b/drivers/mtd/onenand/omap2.c >> @@ -35,16 +35,16 @@ >> >> #include > > Should be linux/io.h and should be with the other linux/ includes. > >> #include >> -#include >> -#include >> -#include >> -#include >> +#include >> +#include >> +#include >> +#include >> >> #include >> #include > > asm/dma-mapping.h should not be included - only linux/dma-mapping.h, and > that should be up with the other linux/ includes. > >> -#include >> +#include >> >> -#include >> +#include >> >> #define DRIVER_NAME "omap2-onenand" >> >> -- >> 1.5.4.3 > From: Adrian Hunter Date: Mon, 24 Nov 2008 13:34:53 +0200 Subject: [PATCH] MTD: OMAP: OneNAND: header file relocation Signed-off-by: Adrian Hunter Acked-by: Russell King --- drivers/mtd/onenand/omap2.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index e39b21d..a7e4d98 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c @@ -32,19 +32,18 @@ #include #include #include +#include +#include -#include #include -#include -#include -#include -#include +#include +#include +#include +#include -#include -#include -#include +#include -#include +#include #define DRIVER_NAME "omap2-onenand"