summaryrefslogtreecommitdiff
path: root/at76c503-i3863.c
diff options
context:
space:
mode:
Diffstat (limited to 'at76c503-i3863.c')
-rw-r--r--at76c503-i3863.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/at76c503-i3863.c b/at76c503-i3863.c
index e6a2e99..b995934 100644
--- a/at76c503-i3863.c
+++ b/at76c503-i3863.c
@@ -133,6 +133,9 @@ static int __init mod_init(void)
info(DRIVER_DESC " " DRIVER_VERSION);
+ /* HZ became a variable with 2.4.23-preX */
+ module_usbdfu.reset_delay=2*HZ;
+
/* register with usbdfu so that the firmware will be automatically
* downloaded to the device on detection */
result = usbdfu_register(&module_usbdfu);
@@ -149,9 +152,6 @@ static int __init mod_init(void)
return -1;
}
- /* HZ became a variable with 2.4.23-preX */
- module_usbdfu.reset_delay=2*HZ;
-
return 0;
}