Skip to contentSkip to conversation

8610: Fix lingering compile warnings.

PATCH New Jon Loeliger 2 participants 2 messages Jan 4, 2008 – Jan 5, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 8610: Fix lingering compile warnings.

Turn off DEBUG.

---
 board/freescale/mpc8610hpcd/mpc8610hpcd.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
board/freescale/mpc8610hpcd/mpc8610hpcd.c +4 -1
index 617881a..9f32890 100644
@@ -19,13 +19,14 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  * MA 02111-1307 USA
  */
-#define DEBUG
+
 #include <common.h>
 #include <command.h>
 #include <pci.h>
 #include <asm/processor.h>
 #include <asm/immap_86xx.h>
 #include <asm/immap_fsl_pci.h>
+#include <i2c.h>
 #include <spd.h>
 #include <asm/io.h>
 
@@ -47,6 +48,8 @@ extern void ddr_enable_ecc(unsigned int dram_size);
 
 void sdram_init(void);
 long int fixed_sdram(void);
+void mpc8610hpcd_diu_init(void);
+
 
 /* called before any console output */
 int board_early_init_f(void)
Signature · 1 line
1.5.2.1.126.g6abd0
#1 lore raw

PATCH 1/1 8610: Fix lingering compile warnings.

Quoted 12 lines · Jon Loeliger

Turn off DEBUG.

---
 board/freescale/mpc8610hpcd/mpc8610hpcd.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
board/freescale/mpc8610hpcd/mpc8610hpcd.c +0 -0
index 617881a..9f32890 100644

board/freescale/mpc8610hpcd/mpc8610hpcd.c line 22

Quoted 4 lines
board/freescale/mpc8610hpcd/mpc8610hpcd.c +0 -1
@@ -19,13 +19,14 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  * MA 02111-1307 USA
  */
-#define DEBUG

I think we should also remove every "#undef DEBUG" in all of the board header files we control. What do you think?

--
Timur Tabi
Linux Kernel Developer @ Freescale