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

drm: add missing header guards to drm_internal.h

Including the file twice leads to errors.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6e744360513e581765147ea7b1e693f4bffe03a9.1709749576.git.jani.nikula@intel.com

+5
+5
drivers/gpu/drm/drm_internal.h
··· 21 21 * OTHER DEALINGS IN THE SOFTWARE. 22 22 */ 23 23 24 + #ifndef __DRM_INTERNAL_H__ 25 + #define __DRM_INTERNAL_H__ 26 + 24 27 #include <linux/kthread.h> 25 28 #include <linux/types.h> 26 29 ··· 279 276 /* drm_edid.c */ 280 277 void drm_edid_cta_sad_get(const struct cea_sad *cta_sad, u8 *sad); 281 278 void drm_edid_cta_sad_set(struct cea_sad *cta_sad, const u8 *sad); 279 + 280 + #endif /* __DRM_INTERNAL_H__ */