Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
7extern const struct device_type cxl_nvdimm_bridge_type;
8extern const struct device_type cxl_nvdimm_type;
9
10extern struct attribute_group cxl_base_attribute_group;
11
12static inline void unregister_cxl_dev(void *dev)
13{
14 device_unregister(dev);
15}
16
17int cxl_memdev_init(void);
18void cxl_memdev_exit(void);
19
20#endif /* __CXL_CORE_H__ */