mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [STAGING] Always register wlan-ng driver
@ 2008-10-30 22:48 Dmitry Baryshkov
  2008-11-12 22:25 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Baryshkov @ 2008-10-30 22:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dmitry Baryshkov, Greg Kroah-Hartman

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@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [STAGING] Always register wlan-ng driver
  2008-10-30 22:48 [PATCH] [STAGING] Always register wlan-ng driver Dmitry Baryshkov
@ 2008-11-12 22:25 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-11-12 22:25 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: linux-kernel, Greg Kroah-Hartman

On Fri, Oct 31, 2008 at 01:48:32AM +0300, Dmitry Baryshkov wrote:
> Currently wlan-ng driver registration is under #ifdef MODULE.
> Register the wlan-ng driver even if it's built-in into the kernel.

Sorry, someone already beat you to this cleanup :(

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-12 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 22:48 [PATCH] [STAGING] Always register wlan-ng driver Dmitry Baryshkov
2008-11-12 22:25 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome