ide: Remove spurious second include of io.h
PATCH 1/1 ide: Remove spurious second include of io.h
Signed-off-by Marcel Ziswiler <[email protected]>
--- common/cmd_ide.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
common/cmd_ide.c +0 -1
@@ -31,7 +31,6 @@#include <command.h> #include <image.h> #include <asm/byteorder.h> -#include <asm/io.h> #if defined(CONFIG_IDE_8xx_DIRECT) || defined(CONFIG_IDE_PCMCIA )# include <pcmcia.h>
Signature · 1 line
1.5.4.1
PATCH 1/1 ide: Remove spurious second include of io.h
Quoted 10 lines · In message <[email protected]> you wrote:
Signed-off-by Marcel Ziswiler <[email protected]>--- common/cmd_ide.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)common/cmd_ide.c +0
-0
common/cmd_ide.c line 34
Quoted 5 lines
common/cmd_ide.c +0
-1@@ -31,7 +31,6 @@#include <command.h> #include <image.h> #include <asm/byteorder.h> -#include <asm/io.h>
Ummm... should we not rather remove the second include, with all the #ifdef around?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's a way out of any cage.
-- Captain Christopher Pike, "The Menagerie" ("The Cage"),
stardate unknown.PATCH 1/1 ide: Remove spurious second include of io.h
In reply to Marcel ZiswilerRemoved the second include, with all the #ifdef around as suggested by Wolfgang.
Signed-off-by Marcel Ziswiler <[email protected]>
--- common/cmd_ide.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
common/cmd_ide.c +0 -4
@@ -52,10 +52,6 @@# include <status_led.h> #endif -#ifndef __PPC__ -#include <asm/io.h> -#endif -#ifdef CONFIG_IDE_8xx_DIRECTDECLARE_GLOBAL_DATA_PTR ;#endif
Signature · 1 line
1.5.4.1
Wolfgang Denk
AppliedPATCH 1/1 ide: Remove spurious second include of io.h
Quoted 6 lines · In message <[email protected]> you wrote:
Removed the second include, with all the #ifdef around as suggested by Wolfgang.
Signed-off-by Marcel Ziswiler <[email protected]>--- common/cmd_ide.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Perfection is reached, not when there is no longer anything to add,
but when there is no longer anything to take away.
- Antoine de Saint-Exupery