Merge branch 'denx-coldfire' into coldfire-aug2007
[oweals/u-boot.git] / drivers / sk98lin / uboot_skb.c
index 9d86beabd238589d102623a7d0144526b01e73a6..3a487a8e3d6c0ef639458cb4fd4341245b8e50df 100644 (file)
  * MA 02111-1307 USA
  */
 
+#include <config.h>
+
+#ifdef CONFIG_SK98
+
 #include <common.h>
 #include "u-boot_compat.h"
 
@@ -65,7 +69,7 @@ struct sk_buff * alloc_skb(u32 size, int dummy)
 
                sk_table[i]->data += 16 - ((u32)sk_table[i]->data & 15);
                sk_table[i]->len = size;
-               
+
                break;
        }
 
@@ -114,3 +118,5 @@ void skb_put(struct sk_buff *skb, unsigned int len)
 {
        skb->len+=len;
 }
+
+#endif /* CONFIG_SK98 */