|
@@ -945,11 +945,11 @@ config_buf (enum usb_device_speed speed,
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
|
|
-static void eth_start (struct eth_dev *dev, int gfp_flags);
|
|
|
-static int alloc_requests (struct eth_dev *dev, unsigned n, int gfp_flags);
|
|
|
+static void eth_start (struct eth_dev *dev, unsigned gfp_flags);
|
|
|
+static int alloc_requests (struct eth_dev *dev, unsigned n, unsigned gfp_flags);
|
|
|
|
|
|
static int
|
|
|
-set_ether_config (struct eth_dev *dev, int gfp_flags)
|
|
|
+set_ether_config (struct eth_dev *dev, unsigned gfp_flags)
|
|
|
{
|
|
|
int result = 0;
|
|
|
struct usb_gadget *gadget = dev->gadget;
|
|
@@ -1079,7 +1079,7 @@ static void eth_reset_config (struct eth_dev *dev)
|
|
|
* that returns config descriptors, and altsetting code.
|
|
|
*/
|
|
|
static int
|
|
|
-eth_set_config (struct eth_dev *dev, unsigned number, int gfp_flags)
|
|
|
+eth_set_config (struct eth_dev *dev, unsigned number, unsigned gfp_flags)
|
|
|
{
|
|
|
int result = 0;
|
|
|
struct usb_gadget *gadget = dev->gadget;
|
|
@@ -1596,7 +1596,7 @@ static void defer_kevent (struct eth_dev *dev, int flag)
|
|
|
static void rx_complete (struct usb_ep *ep, struct usb_request *req);
|
|
|
|
|
|
static int
|
|
|
-rx_submit (struct eth_dev *dev, struct usb_request *req, int gfp_flags)
|
|
|
+rx_submit (struct eth_dev *dev, struct usb_request *req, unsigned gfp_flags)
|
|
|
{
|
|
|
struct sk_buff *skb;
|
|
|
int retval = -ENOMEM;
|
|
@@ -1722,7 +1722,7 @@ clean:
|
|
|
}
|
|
|
|
|
|
static int prealloc (struct list_head *list, struct usb_ep *ep,
|
|
|
- unsigned n, int gfp_flags)
|
|
|
+ unsigned n, unsigned gfp_flags)
|
|
|
{
|
|
|
unsigned i;
|
|
|
struct usb_request *req;
|
|
@@ -1761,7 +1761,7 @@ extra:
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int alloc_requests (struct eth_dev *dev, unsigned n, int gfp_flags)
|
|
|
+static int alloc_requests (struct eth_dev *dev, unsigned n, unsigned gfp_flags)
|
|
|
{
|
|
|
int status;
|
|
|
|
|
@@ -1777,7 +1777,7 @@ fail:
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
-static void rx_fill (struct eth_dev *dev, int gfp_flags)
|
|
|
+static void rx_fill (struct eth_dev *dev, unsigned gfp_flags)
|
|
|
{
|
|
|
struct usb_request *req;
|
|
|
unsigned long flags;
|
|
@@ -2022,7 +2022,7 @@ static int rndis_control_ack (struct net_device *net)
|
|
|
|
|
|
#endif /* RNDIS */
|
|
|
|
|
|
-static void eth_start (struct eth_dev *dev, int gfp_flags)
|
|
|
+static void eth_start (struct eth_dev *dev, unsigned gfp_flags)
|
|
|
{
|
|
|
DEBUG (dev, "%s\n", __FUNCTION__);
|
|
|
|