[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060924053503.GA30273@parisc-linux.org>
Date: Sat, 23 Sep 2006 23:35:04 -0600
From: Matthew Wilcox <matthew@....cx>
To: Greg KH <greg@...ah.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: dev_printk() is now GPL-only
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@....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)
-
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