Browse Source

Fix compile problem

Wolfgang Denk 19 years ago
parent
commit
7c60908ffb
2 changed files with 4 additions and 1 deletions
  1. 2 0
      CHANGELOG
  2. 2 1
      drivers/ks8695eth.c

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes since U-Boot 1.1.4:
 Changes since U-Boot 1.1.4:
 ======================================================================
 ======================================================================
 
 
+* Fix compile problem
+
 * Added PCI support for MPC8349ADS board
 * Added PCI support for MPC8349ADS board
   Patch by Kumar Gala 11 Jan 2006
   Patch by Kumar Gala 11 Jan 2006
 
 

+ 2 - 1
drivers/ks8695eth.c

@@ -21,12 +21,13 @@
 /****************************************************************************/
 /****************************************************************************/
 
 
 #include <common.h>
 #include <common.h>
+
+#ifdef	CONFIG_DRIVER_KS8695ETH
 #include <malloc.h>
 #include <malloc.h>
 #include <net.h>
 #include <net.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/arch/platform.h>
 #include <asm/arch/platform.h>
 
 
-#ifdef	CONFIG_DRIVER_KS8695ETH
 /****************************************************************************/
 /****************************************************************************/
 
 
 /*
 /*