bcm27xx-userland: update to latest version
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0545-drm-vc4-drv-Add-include-guards.patch
1 From 42566c11972c9edace45d5a787e276588214cb79 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 19 Dec 2019 18:08:48 +0100
4 Subject: [PATCH] drm/vc4: drv: Add include guards
5
6 vc4_drv.h doesn't have any include guards which prevents it from being
7 included twice. Let's add them.
8
9 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
10 ---
11 drivers/gpu/drm/vc4/vc4_drv.h | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 --- a/drivers/gpu/drm/vc4/vc4_drv.h
15 +++ b/drivers/gpu/drm/vc4/vc4_drv.h
16 @@ -2,6 +2,8 @@
17 /*
18 * Copyright (C) 2015 Broadcom
19 */
20 +#ifndef _VC4_DRV_H_
21 +#define _VC4_DRV_H_
22
23 #include <linux/delay.h>
24 #include <linux/refcount.h>
25 @@ -899,3 +901,5 @@ int vc4_perfmon_destroy_ioctl(struct drm
26 struct drm_file *file_priv);
27 int vc4_perfmon_get_values_ioctl(struct drm_device *dev, void *data,
28 struct drm_file *file_priv);
29 +
30 +#endif /* _VC4_DRV_H_ */