]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/gadget/f_rndis.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / drivers / usb / gadget / f_rndis.c
index 95dae4c1ea40d8cabaea0f1698b4f6b16acf847f..56b022150f227d8dbfd7ca939d80e376d0916e1c 100644 (file)
@@ -24,6 +24,7 @@
 
 /* #define VERBOSE_DEBUG */
 
+#include <linux/slab.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <linux/etherdevice.h>
@@ -769,10 +770,6 @@ rndis_unbind(struct usb_configuration *c, struct usb_function *f)
 /* Some controllers can't support RNDIS ... */
 static inline bool can_support_rndis(struct usb_configuration *c)
 {
-       /* only two endpoints on sa1100 */
-       if (gadget_is_sa1100(c->cdev->gadget))
-               return false;
-
        /* everything else is *presumably* fine */
        return true;
 }