]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix dev_printk() is now GPL-only
authorMatthew Wilcox <matthew@wil.cx>
Sun, 24 Sep 2006 05:35:04 +0000 (23:35 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 19:49:54 +0000 (12:49 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c

index b224bb43ff638f812694efe1e4c8eaa5bbd47967..aee3743bd4a3db1f99d81ddf463ee9ec3cc0315d 100644 (file)
@@ -44,7 +44,7 @@ const char *dev_driver_string(struct device *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)