aboutsummaryrefslogtreecommitdiff
path: root/drivers/sk98lin/uboot_skb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sk98lin/uboot_skb.c')
-rw-r--r--drivers/sk98lin/uboot_skb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sk98lin/uboot_skb.c b/drivers/sk98lin/uboot_skb.c
index 9d86beabd..b87ad163f 100644
--- a/drivers/sk98lin/uboot_skb.c
+++ b/drivers/sk98lin/uboot_skb.c
@@ -23,6 +23,10 @@
* MA 02111-1307 USA
*/
+#include <config.h>
+
+#ifdef CONFIG_SK98
+
#include <common.h>
#include "u-boot_compat.h"
@@ -114,3 +118,5 @@ void skb_put(struct sk_buff *skb, unsigned int len)
{
skb->len+=len;
}
+
+#endif /* CONFIG_SK98 */