From: Paul Gortmaker Date: Sat, 2 May 2015 00:02:30 +0000 (-0400) Subject: drivers/gpu: include for modular rockchip code X-Git-Tag: v4.2-rc1~42^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00fe614863eed7ca39fc72a307c6dff57b690476;p=thirdparty%2Fkernel%2Flinux.git drivers/gpu: include for modular rockchip code These files are built off of a tristate Kconfig option and also contain modular function calls so they should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: David Airlie Cc: Mark Yao Cc: dri-devel@lists.freedesktop.org Signed-off-by: Paul Gortmaker --- diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index 3962176ee7132..01b558fe36953 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 4557f335a8a56..dc65161d7cad2 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include