cxl/core: Convert to EXPORT_SYMBOL_NS_GPL
authorDan Williams <dan.j.williams@intel.com>
Sat, 13 Nov 2021 00:32:58 +0000 (16:32 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 15 Nov 2021 19:02:59 +0000 (11:02 -0800)
commitaffec782742e08a7469ef81d7d0a4ae9d1345dfd
treea80534a2fb99216116a34ca6f2a0f5c09d55989d
parent5e2411ae8071612396cd25017e29f9ce0662a5ff
cxl/core: Convert to EXPORT_SYMBOL_NS_GPL

It turns out that the usb example of specifying the subsystem namespace
at build time is not preferred. The rationale for that preference has
become more apparent as CXL patches with plain EXPORT_SYMBOL_GPL beg the
question, "why would any code other than CXL care about this symbol?".
Make the namespace explicit.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/163676356810.3618264.601632777702192938.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/Makefile
drivers/cxl/core/bus.c
drivers/cxl/core/mbox.c
drivers/cxl/core/memdev.c
drivers/cxl/core/pmem.c
drivers/cxl/core/regs.c