projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27a8e4
)
drm/vc4: drv: Add include guards
author
Maxime Ripard
<maxime@cerno.tech>
Thu, 19 Dec 2019 17:08:48 +0000
(18:08 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:35 +0000
(16:33 +0100)
vc4_drv.h doesn't have any include guards which prevents it from being
included twice. Let's add them.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_drv.h
b/drivers/gpu/drm/vc4/vc4_drv.h
index
308f047
..
95f7433
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_drv.h
+++ b/
drivers/gpu/drm/vc4/vc4_drv.h
@@
-2,6
+2,8
@@
/*
* Copyright (C) 2015 Broadcom
*/
+#ifndef _VC4_DRV_H_
+#define _VC4_DRV_H_
#include <linux/delay.h>
#include <linux/refcount.h>
@@
-899,3
+901,5
@@
int vc4_perfmon_destroy_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
int vc4_perfmon_get_values_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
+
+#endif /* _VC4_DRV_H_ */