summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJosh Myer <jbm@joshisanerd.com>2002-10-28 23:20:41 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2002-10-28 23:20:41 -0800
commitbc2c10df3ca14e9ff199ee466d41139f2a58181e (patch)
treed8116d8d1ef5bfa632d8fe64fd2b1efe3d5a9eec /Documentation
parent9179a307bffc558ccd8cff8334ca08ef2b68ea1b (diff)
[PATCH] Eliminate Old Prototypes from 2.5.44
Attached patch is the result of: dignity:~/src/linux-2.5.44 $ for x in `rgrep -l "FILL_.*URB" *`; do cp -v $x $x.backup; cat $x.backup | perl -pe 's/FILL_CONTROL_URB/usb_fill_control_urb/g; s/FILL_BULK_URB/usb_fill_bulk_urb/g; s/FILL_INT_URB/usb_fill_int_urb/g;' > $x; done and a manual removal of the define's in usb.h.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/writing_usb_driver.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/writing_usb_driver.tmpl b/Documentation/DocBook/writing_usb_driver.tmpl
index 98d689b33529..8d971b0120fb 100644
--- a/Documentation/DocBook/writing_usb_driver.tmpl
+++ b/Documentation/DocBook/writing_usb_driver.tmpl
@@ -307,7 +307,7 @@ if (result) {
</programlisting>
<para>
When the write urb is filled up with the proper information using the
- FILL_BULK_URB function, we point the urb's completion callback to call our
+ usb_fill_bulk_urb function, we point the urb's completion callback to call our
own skel_write_bulk_callback function. This function is called when the
urb is finished by the USB subsystem. The callback function is called in
interrupt context, so caution must be taken not to do very much processing