From: Dmitry Baryshkov <dbaryshkov@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>,
Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH] [STAGING] Always register wlan-ng driver
Date: Fri, 31 Oct 2008 01:48:32 +0300 [thread overview]
Message-ID: <1225406912-18376-1-git-send-email-dbaryshkov@gmail.com> (raw)
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
next reply other threads:[~2008-10-30 22:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 22:48 Dmitry Baryshkov [this message]
2008-11-12 22:25 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1225406912-18376-1-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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