1369dcfc1948c15a557868f2cb26f0ea1513f746
[openwrt/svn-archive/archive.git] / package / madwifi / patches-r3776 / 333-hal_init_msg.patch
1 --- a/ath_hal/ah_os.c
2 +++ b/ath_hal/ah_os.c
3 @@ -1136,9 +1136,6 @@
4 * Module glue.
5 */
6 #include "version.h"
7 -#if 0
8 -static char *dev_info = "ath_hal";
9 -#endif
10
11 MODULE_AUTHOR("Errno Consulting, Sam Leffler");
12 MODULE_DESCRIPTION("Atheros Hardware Access Layer (HAL)");
13 @@ -1172,7 +1169,7 @@
14 static int __init
15 init_ath_hal(void)
16 {
17 - const char *sep;
18 + const char *sep = "";
19 int i;
20 #ifdef MMIOTRACE
21 kmmio_logmsg = _kmmio_logmsg;
22 @@ -1181,7 +1178,7 @@
23 ifxmips_emulate = ifxmips_has_brn_block();
24 #endif
25
26 - sep = "";
27 + printk(KERN_INFO "hal: %s (", ath_hal_version);
28 for (i = 0; ath_hal_buildopts[i] != NULL; i++) {
29 printk("%s%s", sep, ath_hal_buildopts[i]);
30 sep = ", ";