aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/regs-decon7.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-12-26 14:07:19 +0100
committerInki Dae <inki.dae@samsung.com>2018-01-02 08:38:49 +0900
commitca52c7121f80eb13176e04645010f9c4bce375d6 (patch)
tree6297dadb6032f72aaf44cbcf8ca25273238d80af /drivers/gpu/drm/exynos/regs-decon7.h
parentdrm/exynos/decon: Move headers from global to local place (diff)
downloadlinux-dev-ca52c7121f80eb13176e04645010f9c4bce375d6.tar.xz
linux-dev-ca52c7121f80eb13176e04645010f9c4bce375d6.zip
drm/exynos/decon: Add include guard to the Exynos7 header
Although header is included only once but still having an include guard is a good practice. To avoid confusion, add SoC prefix to existing Exynos5433 header include guard. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/regs-decon7.h')
-rw-r--r--drivers/gpu/drm/exynos/regs-decon7.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/regs-decon7.h b/drivers/gpu/drm/exynos/regs-decon7.h
index 339ea1007ff5..5df7765d2397 100644
--- a/drivers/gpu/drm/exynos/regs-decon7.h
+++ b/drivers/gpu/drm/exynos/regs-decon7.h
@@ -8,6 +8,9 @@
* option) any later version.
*/
+#ifndef EXYNOS_REGS_DECON7_H
+#define EXYNOS_REGS_DECON7_H
+
/* VIDCON0 */
#define VIDCON0 0x00
@@ -346,3 +349,5 @@
#define DECON_UPDATE_SLAVE_SYNC (1 << 4)
#define DECON_UPDATE_STANDALONE_F (1 << 0)
+
+#endif /* EXYNOS_REGS_DECON7_H */