hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/container.h
....@@ -1,13 +1,13 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Definitions for container bus type.
34 *
45 * Copyright (C) 2013, Intel Corporation
56 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
8
+
9
+#ifndef _LINUX_CONTAINER_H
10
+#define _LINUX_CONTAINER_H
1111
1212 #include <linux/device.h>
1313
....@@ -23,3 +23,5 @@
2323 {
2424 return container_of(dev, struct container_dev, dev);
2525 }
26
+
27
+#endif /* _LINUX_CONTAINER_H */