lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 31 Oct 2008 01:48:32 +0300
From:	Dmitry Baryshkov <dbaryshkov@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Dmitry Baryshkov <dbaryshkov@...il.com>,
	Greg Kroah-Hartman <gregkh@...e.de>
Subject: [PATCH] [STAGING] Always register wlan-ng driver

Currently wlan-ng driver registration is under #ifdef MODULE.
Register the wlan-ng driver even if it's built-in into the kernel.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
---
 drivers/staging/wlan-ng/prism2_usb.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2_usb.c b/drivers/staging/wlan-ng/prism2_usb.c
index e45be23..d1844eb 100644
--- a/drivers/staging/wlan-ng/prism2_usb.c
+++ b/drivers/staging/wlan-ng/prism2_usb.c
@@ -329,8 +329,6 @@ static struct usb_driver prism2_usb_driver = {
 	/* fops, minor? */
 };
 
-#ifdef MODULE
-
 static int __init prism2usb_init(void)
 {
         DBFENTER;
@@ -357,5 +355,3 @@ static void __exit prism2usb_cleanup(void)
 
 module_init(prism2usb_init);
 module_exit(prism2usb_cleanup);
-
-#endif // module
-- 
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ