headers: remove sched.h from interrupt.h
[safe/jmp/linux-2.6] / drivers / net / hamradio / hdlcdrv.c
index 16b060b..91c5790 100644 (file)
@@ -42,6 +42,7 @@
 
 /*****************************************************************************/
 
+#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/net.h>
@@ -399,7 +400,8 @@ void hdlcdrv_arbitrate(struct net_device *dev, struct hdlcdrv_state *s)
  * ===================== network driver interface =========================
  */
 
-static int hdlcdrv_send_packet(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t hdlcdrv_send_packet(struct sk_buff *skb,
+                                      struct net_device *dev)
 {
        struct hdlcdrv_state *sm = netdev_priv(dev);