1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright(c) 2020 Intel Corporation. All rights reserved. */
3 #include <linux/device.h>
4 #include <linux/module.h>
9 * The CXL bus provides namespace for control devices and a rendezvous
10 * point for cross-device interleave coordination.
12 struct bus_type cxl_bus_type = {
15 EXPORT_SYMBOL_GPL(cxl_bus_type);
17 static __init int cxl_bus_init(void)
19 return bus_register(&cxl_bus_type);
22 static void cxl_bus_exit(void)
24 bus_unregister(&cxl_bus_type);
27 module_init(cxl_bus_init);
28 module_exit(cxl_bus_exit);
29 MODULE_LICENSE("GPL v2");