On Mon, Aug 19, 2019 at 9:24 AM Masahiro Yamada
<[email protected]> wrote:
>
> Add a header include guard just in case.
>
> Signed-off-by: Masahiro Yamada <[email protected]>

Reviewed-by: Rafael J. Wysocki <[email protected]>

> ---
>
>  include/linux/container.h | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/container.h b/include/linux/container.h
> index 0cc2ee91905c..2566a1baa736 100644
> --- a/include/linux/container.h
> +++ b/include/linux/container.h
> @@ -6,6 +6,9 @@
>   * Author: Rafael J. Wysocki <[email protected]>
>   */
>
> +#ifndef _LINUX_CONTAINER_H
> +#define _LINUX_CONTAINER_H
> +
>  #include <linux/device.h>
>
>  /* drivers/base/power/container.c */
> @@ -20,3 +23,5 @@ static inline struct container_dev *to_container_dev(struct 
> device *dev)
>  {
>         return container_of(dev, struct container_dev, dev);
>  }
> +
> +#endif /* _LINUX_CONTAINER_H */
> --
> 2.17.1
>

Reply via email to