summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2022-07-06 21:42:24 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-07-06 22:54:51 +0300
commit3915f8bddefda1c914d5c3149d329819a988761f (patch)
treea683a19dbdc8403cde0d931a717d9c5b85176f5b /include/drm
parentd8b599bf625d1d818fdbb322a272fd2a5ea32e38 (diff)
downloadlinux-3915f8bddefda1c914d5c3149d329819a988761f.tar.xz
drm: xlnx: add <linux/io.h> for readl/writel
Add a header file to prevent build errors: ../drivers/gpu/drm/xlnx/zynqmp_dp.c: In function ‘zynqmp_dp_write’: ../drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function ‘writel’ [-Werror=implicit-function-declaration] 335 | writel(val, dp->iomem + offset); ../drivers/gpu/drm/xlnx/zynqmp_dp.c: In function ‘zynqmp_dp_read’: ../drivers/gpu/drm/xlnx/zynqmp_dp.c:340:16: error: implicit declaration of function ‘readl’ [-Werror=implicit-function-declaration] 340 | return readl(dp->iomem + offset); Fixes: a204f9743b68 ("drm: Remove linux/i2c.h from drm_crtc.h") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Hyun Kwon <hyun.kwon@xilinx.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Michal Simek <michal.simek@xilinx.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220706184224.29116-1-rdunlap@infradead.org
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions