From: Matthew Wilcox <matthew@wil.cx>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: dev_printk() is now GPL-only
Date: Sat, 23 Sep 2006 23:35:04 -0600 [thread overview]
Message-ID: <20060924053503.GA30273@parisc-linux.org> (raw)
In-Reply-To: <20060807030958.GA638@kroah.com>
On Sun, Aug 06, 2006 at 08:09:58PM -0700, Greg KH wrote:
> Care to send me a patch to fix it up?
Sorry for the delay ...
Make dev_printk usable from non-GPL modules again
dev_printk now calls dev_driver_string. We want even proprietary modules
to be calling dev_printk, so the export of dev_driver_string needs to be
non-GPL-only.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
diff --git a/drivers/base/core.c b/drivers/base/core.c
index be6b5bc..426be09 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -42,7 +42,7 @@ const char *dev_driver_string(struct dev
return dev->driver ? dev->driver->name :
(dev->bus ? dev->bus->name : "");
}
-EXPORT_SYMBOL_GPL(dev_driver_string);
+EXPORT_SYMBOL(dev_driver_string);
#define to_dev(obj) container_of(obj, struct device, kobj)
#define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
prev parent reply other threads:[~2006-09-24 5:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-07 2:57 dev_printk() is now GPL-only Matthew Wilcox
2006-08-07 3:09 ` Greg KH
2006-09-24 5:35 ` Matthew Wilcox [this message]
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=20060924053503.GA30273@parisc-linux.org \
--to=matthew@wil.cx \
--cc=greg@kroah.com \
--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