]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/net/net1080.c
[PATCH] git-netdev-all: pc300_tty build fix
[linux-2.6-omap-h63xx.git] / drivers / usb / net / net1080.c
index a4309c4a491b88b07fc2bcdcf4609df4ab7ab3d9..a9b6eeac3e3fa5da89949bca70990f2258c3e279 100644 (file)
 // #define     DEBUG                   // error path messages, extra info
 // #define     VERBOSE                 // more; success messages
 
-#include <linux/config.h>
-#ifdef CONFIG_USB_DEBUG
-#   define DEBUG
-#endif
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/init.h>
@@ -500,7 +496,7 @@ static int net1080_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
 }
 
 static struct sk_buff *
-net1080_tx_fixup(struct usbnet *dev, struct sk_buff *skb, unsigned flags)
+net1080_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags)
 {
        int                     padlen;
        struct sk_buff          *skb2;
@@ -596,7 +592,6 @@ static const struct usb_device_id   products [] = {
 MODULE_DEVICE_TABLE(usb, products);
 
 static struct usb_driver net1080_driver = {
-       .owner =        THIS_MODULE,
        .name =         "net1080",
        .id_table =     products,
        .probe =        usbnet_probe,