OSDN Git Service

drm/amdgpu/display: include delay.h
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 17 Dec 2019 20:47:06 +0000 (15:47 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2019 23:01:15 +0000 (09:01 +1000)
For udelay.  This is needed for some platforms.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazluaskas@amd.om>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217204707.2258744-1-alexander.deucher@amd.com
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c

index 110c862..bcbc0b8 100644 (file)
@@ -23,6 +23,8 @@
  *
  */
 
+#include <linux/delay.h>
+
 #include "hdcp.h"
 
 static inline enum mod_hdcp_status check_receiver_id_list_ready(struct mod_hdcp *hdcp)