aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorproski <proski>2006-12-18 21:58:21 +0000
committerproski <proski>2006-12-18 21:58:21 +0000
commit4f37a22c460a274e2bf0222d81bef2bcd12adb9c (patch)
tree6fafbc771d9ece5b5efe455aaa86b813b72c9869
parentd4d9112ba9c352f74faa94a28ee97f2870686e6a (diff)
Make usbdfu_download() static
-rw-r--r--at76c503.c4
-rw-r--r--at76c503.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/at76c503.c b/at76c503.c
index 96df60e..80c0bd9 100644
--- a/at76c503.c
+++ b/at76c503.c
@@ -511,8 +511,8 @@ struct dfu_ctx *dfu_alloc_ctx(struct usb_device *udev)
/* == PROC usbdfu_download ==
if manifest_sync_timeout > 0 use this timeout (in msec) instead of the
one reported by the device in state MANIFEST_SYNC */
-int usbdfu_download(struct usb_device *udev, u8 *dfu_buffer, u32 dfu_len,
- int manifest_sync_timeout)
+static int usbdfu_download(struct usb_device *udev, u8 *dfu_buffer,
+ u32 dfu_len, int manifest_sync_timeout)
{
struct dfu_ctx *ctx;
struct dfu_status *dfu_stat_buf;
diff --git a/at76c503.h b/at76c503.h
index 2659deb..6ed549c 100644
--- a/at76c503.h
+++ b/at76c503.h
@@ -723,7 +723,4 @@ extern int at76_debug;
printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg);\
} while (0)
-int usbdfu_download(struct usb_device *udev, u8 *fw_buf, u32 fw_len,
- int manifest_sync_timeout);
-
#endif /* _AT76C503_H */