summaryrefslogtreecommitdiff
path: root/drivers/sk98lin/uboot_skb.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-10 18:20:28 +0000
committerwdenk <wdenk>2003-09-10 18:20:28 +0000
commit149dded2b178bc0fb62cb6f61b87968d914b580a (patch)
tree6322023840b11a7210e3030262dc5e6ee42953f0 /drivers/sk98lin/uboot_skb.c
parent7152b1d0b3f8beec8c297d64664e41b4c4ef610a (diff)
* Add support for USB Mass Storage Devices (BBB)
(tested with USB memory sticks only) * Avoid flicker on TRAB's VFD
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 9d86beabd23..b87ad163f67 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 */