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

drm/msm: move include directive

Move the include of of_address.h to the top of the file where it
belongs.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/525105/
Link: https://lore.kernel.org/r/20230306100722.28485-11-johan+linaro@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Johan Hovold and committed by
Dmitry Baryshkov
648cb683 a75b49db

+1 -2
+1 -2
drivers/gpu/drm/msm/msm_drv.c
··· 8 8 #include <linux/dma-mapping.h> 9 9 #include <linux/fault-inject.h> 10 10 #include <linux/kthread.h> 11 + #include <linux/of_address.h> 11 12 #include <linux/sched/mm.h> 12 13 #include <linux/uaccess.h> 13 14 #include <uapi/linux/sched/types.h> ··· 275 274 276 275 return 0; 277 276 } 278 - 279 - #include <linux/of_address.h> 280 277 281 278 struct msm_gem_address_space *msm_kms_init_aspace(struct drm_device *dev) 282 279 {