File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ entries.
41
41
In addition to the macros EXPORT_SYMBOL() and EXPORT_SYMBOL_GPL(), that allow
42
42
exporting of kernel symbols to the kernel symbol table, variants of these are
43
43
available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
44
- EXPORT_SYMBOL_NS_GPL(). They take one additional argument: the namespace.
45
- Please note that due to macro expansion that argument needs to be a
46
- preprocessor symbol. E.g. to export the symbol ``usb_stor_suspend `` into the
44
+ EXPORT_SYMBOL_NS_GPL(). They take one additional argument: the namespace as a
45
+ string constant. Note that this string must not contain whitespaces.
46
+ E.g. to export the symbol ``usb_stor_suspend `` into the
47
47
namespace ``USB_STORAGE ``, use::
48
48
49
49
EXPORT_SYMBOL_NS(usb_stor_suspend, "USB_STORAGE");
You can’t perform that action at this time.
0 commit comments