![]() | ||||||||||
Messages in this thread Patch in this message |
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) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2006-09-24 05:43 [from the cache] ©2003-2008 | ||||||||||