summaryrefslogtreecommitdiff
path: root/drivers/cxl/core/core.h
blob: 49045daf8bd7c769f53dcf734d7b2e02efe032ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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);
}

#endif /* __CXL_CORE_H__ */