summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjal2 <jal2>2003-10-29 21:34:44 +0000
committerjal2 <jal2>2003-10-29 21:34:44 +0000
commitb16734bdd7e86b70b3ac8d8b12351121142eeb62 (patch)
tree698e29a65afdfef55067db434bc225cb0687266c
parentc62ee81b539ce6d2905bfd0ac76eb50c4ceb27f2 (diff)
version 0.11beta5, initialize module_usbdfu.reset_delay in mod_init, because HZ became a variable
-rw-r--r--Makefile4
-rw-r--r--at76c503-i3861.c6
-rw-r--r--at76c503-i3863.c6
-rw-r--r--at76c503-rfmd-acc.c6
-rw-r--r--at76c503-rfmd.c6
-rw-r--r--at76c505-rfmd.c6
6 files changed, 22 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 24252f4..a47f573 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-#$Id: Makefile,v 1.11 2003/07/26 17:06:26 jal2 Exp $
+#$Id: Makefile,v 1.12 2003/10/29 21:34:44 jal2 Exp $
-VERSION = 0.11beta4
+VERSION = 0.11beta5
CC=gcc
diff --git a/at76c503-i3861.c b/at76c503-i3861.c
index d91988c..db97925 100644
--- a/at76c503-i3861.c
+++ b/at76c503-i3861.c
@@ -148,8 +148,7 @@ static struct usbdfu_info module_usbdfu = {
id_table: dev_table,
fw_buf: fw_internal,
fw_buf_len: sizeof(fw_internal),
- post_download_hook: at76c503_usbdfu_post,
- reset_delay: 2*HZ
+ post_download_hook: at76c503_usbdfu_post
};
/* Module and USB entry points */
@@ -192,6 +191,9 @@ 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;
}
diff --git a/at76c503-i3863.c b/at76c503-i3863.c
index e1cc9c3..e6a2e99 100644
--- a/at76c503-i3863.c
+++ b/at76c503-i3863.c
@@ -106,8 +106,7 @@ static struct usbdfu_info module_usbdfu = {
id_table: dev_table,
fw_buf: fw_internal,
fw_buf_len: sizeof(fw_internal),
- post_download_hook: at76c503_usbdfu_post,
- reset_delay: 2*HZ
+ post_download_hook: at76c503_usbdfu_post
};
/* Module and USB entry points */
@@ -150,6 +149,9 @@ 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;
}
diff --git a/at76c503-rfmd-acc.c b/at76c503-rfmd-acc.c
index eb19db3..5de74a1 100644
--- a/at76c503-rfmd-acc.c
+++ b/at76c503-rfmd-acc.c
@@ -104,8 +104,7 @@ static struct usbdfu_info module_usbdfu = {
id_table: dev_table,
fw_buf: fw_internal,
fw_buf_len: sizeof(fw_internal),
- post_download_hook: at76c503_usbdfu_post,
- reset_delay: 2*HZ
+ post_download_hook: at76c503_usbdfu_post
};
/* Module and USB entry points */
@@ -148,6 +147,9 @@ 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;
}
diff --git a/at76c503-rfmd.c b/at76c503-rfmd.c
index f9299f0..b86209c 100644
--- a/at76c503-rfmd.c
+++ b/at76c503-rfmd.c
@@ -150,8 +150,7 @@ static struct usbdfu_info module_usbdfu = {
id_table: dev_table,
fw_buf: fw_internal,
fw_buf_len: sizeof(fw_internal),
- post_download_hook: at76c503_usbdfu_post,
- reset_delay: 2*HZ
+ post_download_hook: at76c503_usbdfu_post
};
/* Module and USB entry points */
@@ -194,6 +193,9 @@ 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;
}
diff --git a/at76c505-rfmd.c b/at76c505-rfmd.c
index 1ca3a71..27e0e21 100644
--- a/at76c505-rfmd.c
+++ b/at76c505-rfmd.c
@@ -105,8 +105,7 @@ static struct usbdfu_info module_usbdfu = {
id_table: dev_table,
fw_buf: fw_internal,
fw_buf_len: sizeof(fw_internal),
- post_download_hook: at76c503_usbdfu_post,
- reset_delay: 2*HZ
+ post_download_hook: at76c503_usbdfu_post
};
/* Module and USB entry points */
@@ -149,6 +148,9 @@ 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;
}