xref: /openbmc/linux/drivers/cxl/core/core.h (revision b8b350af)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2020 Intel Corporation. */
3 
4 #ifndef __CXL_CORE_H__
5 #define __CXL_CORE_H__
6 
7 extern const struct device_type cxl_nvdimm_bridge_type;
8 extern const struct device_type cxl_nvdimm_type;
9 
10 extern struct attribute_group cxl_base_attribute_group;
11 
12 static inline void unregister_cxl_dev(void *dev)
13 {
14 	device_unregister(dev);
15 }
16 
17 int cxl_memdev_init(void);
18 void cxl_memdev_exit(void);
19 
20 #endif /* __CXL_CORE_H__ */
21