| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Definitions for container bus type. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013, Intel Corporation |
|---|
| 5 | 6 | * 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. |
|---|
| 10 | 7 | */ |
|---|
| 8 | + |
|---|
| 9 | +#ifndef _LINUX_CONTAINER_H |
|---|
| 10 | +#define _LINUX_CONTAINER_H |
|---|
| 11 | 11 | |
|---|
| 12 | 12 | #include <linux/device.h> |
|---|
| 13 | 13 | |
|---|
| .. | .. |
|---|
| 23 | 23 | { |
|---|
| 24 | 24 | return container_of(dev, struct container_dev, dev); |
|---|
| 25 | 25 | } |
|---|
| 26 | + |
|---|
| 27 | +#endif /* _LINUX_CONTAINER_H */ |
|---|