diff mbox

[U-Boot] env_nand: Remove DEBUG definition

Message ID 1320912600-3170-1-git-send-email-weber@corscience.de
State Changes Requested
Delegated to: Scott Wood
Headers show

Commit Message

Thomas Weber Nov. 10, 2011, 8:10 a.m. UTC
When compiling with -DDEBUG enabled this caused a
warning about multiple definition of DEBUG.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 common/env_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Mike Frysinger Nov. 10, 2011, 4:21 p.m. UTC | #1
On Thursday 10 November 2011 03:10:00 Thomas Weber wrote:
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> 
> -#define DEBUG
> +/* #define DEBUG */

just delete it and be done
-mike
Wolfgang Denk Dec. 5, 2011, 10:03 p.m. UTC | #2
Dear Thomas Weber,

In message <1320912600-3170-1-git-send-email-weber@corscience.de> you wrote:
> When compiling with -DDEBUG enabled this caused a
> warning about multiple definition of DEBUG.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>
> ---
>  common/env_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/env_nand.c b/common/env_nand.c
> index 14446a6..e71a229 100644
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> @@ -30,7 +30,7 @@
>   * MA 02111-1307 USA
>   */
>  
> -#define DEBUG
> +/* #define DEBUG */

No - please simply delete this.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/common/env_nand.c b/common/env_nand.c
index 14446a6..e71a229 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -30,7 +30,7 @@ 
  * MA 02111-1307 USA
  */
 
-#define DEBUG
+/* #define DEBUG */
 
 #include <common.h>
 #include <command.h>