hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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;