Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Inki Dae
ca52c712 4f52e550

+8 -3
+3 -3
drivers/gpu/drm/exynos/regs-decon5433.h
··· 6 6 * published by the Free Software Foundationr 7 7 */ 8 8 9 - #ifndef EXYNOS_REGS_DECON_H 10 - #define EXYNOS_REGS_DECON_H 9 + #ifndef EXYNOS_REGS_DECON5433_H 10 + #define EXYNOS_REGS_DECON5433_H 11 11 12 12 /* Exynos543X DECON */ 13 13 #define DECON_VIDCON0 0x0000 ··· 206 206 #define CRCCTRL_CRCEN (0x1 << 0) 207 207 #define CRCCTRL_MASK (0x7) 208 208 209 - #endif /* EXYNOS_REGS_DECON_H */ 209 + #endif /* EXYNOS_REGS_DECON5433_H */
+5
drivers/gpu/drm/exynos/regs-decon7.h
··· 8 8 * option) any later version. 9 9 */ 10 10 11 + #ifndef EXYNOS_REGS_DECON7_H 12 + #define EXYNOS_REGS_DECON7_H 13 + 11 14 /* VIDCON0 */ 12 15 #define VIDCON0 0x00 13 16 ··· 349 346 350 347 #define DECON_UPDATE_SLAVE_SYNC (1 << 4) 351 348 #define DECON_UPDATE_STANDALONE_F (1 << 0) 349 + 350 + #endif /* EXYNOS_REGS_DECON7_H */