Commit 2c05593b authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm: Include prototype for drm_need_swiotlb()



Sparse is not happy:
../drivers/gpu/drm/drm_memory.c:159:6: warning: symbol 'drm_need_swiotlb' was not declared. Should it be static?

Include the correct header for drm_need_swiotlb() prototype.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190710125143.9965-3-ville.syrjala@linux.intel.com


Reviewed-by: default avatarSean Paul <sean@poorly.run>
parent 40d51c05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
#include <xen/xen.h>

#include <drm/drm_agpsupport.h>
#include <drm/drm_cache.h>
#include <drm/drm_device.h>

#include "drm_legacy.h"