2021-08-02 20:29:49 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
/* Copyright(c) 2020 Intel Corporation. */
|
|
|
|
|
|
|
|
#ifndef __CXL_CORE_H__
|
|
|
|
#define __CXL_CORE_H__
|
|
|
|
|
|
|
|
extern const struct device_type cxl_nvdimm_bridge_type;
|
|
|
|
extern const struct device_type cxl_nvdimm_type;
|
|
|
|
|
|
|
|
extern struct attribute_group cxl_base_attribute_group;
|
|
|
|
|
|
|
|
static inline void unregister_cxl_dev(void *dev)
|
|
|
|
{
|
|
|
|
device_unregister(dev);
|
|
|
|
}
|
|
|
|
|
2021-08-02 20:30:05 +03:00
|
|
|
int cxl_memdev_init(void);
|
|
|
|
void cxl_memdev_exit(void);
|
|
|
|
|
2021-08-02 20:29:49 +03:00
|
|
|
#endif /* __CXL_CORE_H__ */
|