projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
408e7e8
)
drm/vc4: drv: Add include guards
author
Maxime Ripard
<maxime@cerno.tech>
Wed, 27 May 2020 15:47:41 +0000
(17:47 +0200)
committer
Maxime Ripard
<maxime@cerno.tech>
Wed, 10 Jun 2020 09:09:37 +0000
(11:09 +0200)
vc4_drv.h doesn't have any include guards which prevents it from being
included twice. Let's add them.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://patchwork.freedesktop.org/patch/msgid/68e89e315c4c35b313efc277c9642eca684e0ade.1590594512.git-series.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
3b1f02e
..
6f50a91
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>
@@
-897,3
+899,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_ */