lkml.org 
[lkml]   [2004]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Driver Core patches for 2.6.9
Date
From
ChangeSet 1.1946.10.7, 2004/09/24 11:47:15-07:00, mochel@digitalimplant.org

[driver model] Change symbol exports to GPL only in sys.c

Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>


drivers/base/sys.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)

diff -Nru a/drivers/base/sys.c b/drivers/base/sys.c
--- a/drivers/base/sys.c 2004-10-19 09:21:42 -07:00
+++ b/drivers/base/sys.c 2004-10-19 09:21:42 -07:00
@@ -73,8 +73,8 @@
sysfs_remove_file(&s->kobj, &a->attr);
}

-EXPORT_SYMBOL(sysdev_create_file);
-EXPORT_SYMBOL(sysdev_remove_file);
+EXPORT_SYMBOL_GPL(sysdev_create_file);
+EXPORT_SYMBOL_GPL(sysdev_remove_file);

/*
* declare system_subsys
@@ -98,8 +98,8 @@
kset_unregister(&cls->kset);
}

-EXPORT_SYMBOL(sysdev_class_register);
-EXPORT_SYMBOL(sysdev_class_unregister);
+EXPORT_SYMBOL_GPL(sysdev_class_register);
+EXPORT_SYMBOL_GPL(sysdev_class_unregister);


static LIST_HEAD(global_drivers);
@@ -157,8 +157,8 @@
up_write(&system_subsys.rwsem);
}

-EXPORT_SYMBOL(sysdev_driver_register);
-EXPORT_SYMBOL(sysdev_driver_unregister);
+EXPORT_SYMBOL_GPL(sysdev_driver_register);
+EXPORT_SYMBOL_GPL(sysdev_driver_unregister);



@@ -392,5 +392,5 @@
return subsystem_register(&system_subsys);
}

-EXPORT_SYMBOL(sysdev_register);
-EXPORT_SYMBOL(sysdev_unregister);
+EXPORT_SYMBOL_GPL(sysdev_register);
+EXPORT_SYMBOL_GPL(sysdev_unregister);
-
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: 2005-03-22 14:07    [W:0.315 / U:0.380 seconds]
©2003-2014 Jasper Spaans. Advertise on this site