hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/linux/mei_cl_bus.h
....@@ -1,4 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2
+/*
3
+ * Copyright (c) 2013-2016, Intel Corporation. All rights reserved.
4
+ */
25 #ifndef _LINUX_MEI_CL_BUS_H
36 #define _LINUX_MEI_CL_BUS_H
47
....@@ -55,6 +58,8 @@
5558 void *priv_data;
5659 };
5760
61
+#define to_mei_cl_device(d) container_of(d, struct mei_cl_device, dev)
62
+
5863 struct mei_cl_driver {
5964 struct device_driver driver;
6065 const char *name;