git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
usb
/
gadget
/
epautoconf.c
diff --git
a/drivers/usb/gadget/epautoconf.c
b/drivers/usb/gadget/epautoconf.c
index
a67ba26
..
2d529f1
100644
(file)
--- a/
drivers/usb/gadget/epautoconf.c
+++ b/
drivers/usb/gadget/epautoconf.c
@@
-192,7
+192,7
@@
find_ep (struct usb_gadget *gadget, const char *name)
if (0 == strcmp (ep->name, name))
return ep;
}
if (0 == strcmp (ep->name, name))
return ep;
}
- return
0
;
+ return
NULL
;
}
/**
}
/**
@@
-280,7
+280,7
@@
struct usb_ep * __init usb_ep_autoconfig (
}
/* Fail */
}
/* Fail */
- return
0
;
+ return
NULL
;
}
/**
}
/**
@@
-297,7
+297,7
@@
void __init usb_ep_autoconfig_reset (struct usb_gadget *gadget)
struct usb_ep *ep;
list_for_each_entry (ep, &gadget->ep_list, ep_list) {
struct usb_ep *ep;
list_for_each_entry (ep, &gadget->ep_list, ep_list) {
- ep->driver_data =
0
;
+ ep->driver_data =
NULL
;
}
#ifdef MANY_ENDPOINTS
in_epnum = 0;
}
#ifdef MANY_ENDPOINTS
in_epnum = 0;