Patchwork at91_ide: remove headers specific for at91sam9263

login
register
mail settings
Submitter Sergey Matyukevich
Date Aug. 15, 2009, 10:02 a.m.
Message ID <1250330561-10975-1-git-send-email-geomatsi@gmail.com>
Download mbox | patch
Permalink /patch/31470/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sergey Matyukevich - Aug. 15, 2009, 10:02 a.m.
This driver requires only static memory controller definitions and macroses
contained in generic header at91sam9_smc.h.

Those extra headers are misleading since this driver also works fine for
at91sam9260 SoC: tests were performed on afeb9260 board.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 drivers/ide/at91_ide.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Stanislaw Gruszka - Aug. 15, 2009, 8:15 p.m.
On Saturday 15 August 2009 06:02, Sergey Matyukevich wrote:
> This driver requires only static memory controller definitions and macroses
> contained in generic header at91sam9_smc.h.
> 
> Those extra headers are misleading since this driver also works fine for
> at91sam9260 SoC: tests were performed on afeb9260 board.
> 
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>

Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>

Thanks
Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Aug. 16, 2009, 1:55 a.m.
From: Stanislaw Gruszka <stf_xl@wp.pl>
Date: Sat, 15 Aug 2009 16:15:52 -0400

> On Saturday 15 August 2009 06:02, Sergey Matyukevich wrote:
>> This driver requires only static memory controller definitions and macroses
>> contained in generic header at91sam9_smc.h.
>> 
>> Those extra headers are misleading since this driver also works fine for
>> at91sam9260 SoC: tests were performed on afeb9260 board.
>> 
>> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
> 
> Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>

Applied to ide-next-2.6, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ide/at91_ide.c b/drivers/ide/at91_ide.c
index dbfeda4..248219a 100644
--- a/drivers/ide/at91_ide.c
+++ b/drivers/ide/at91_ide.c
@@ -29,9 +29,7 @@ 
 
 #include <mach/board.h>
 #include <mach/gpio.h>
-#include <mach/at91sam9263.h>
 #include <mach/at91sam9_smc.h>
-#include <mach/at91sam9263_matrix.h>
 
 #define DRV_NAME "at91_ide"