summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-01 20:02:30 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 14:12:25 -0400
commit00fe614863eed7ca39fc72a307c6dff57b690476 (patch)
tree64af7539e7a9c4919c02f8739aae236481b4487b /drivers/gpu/drm/rockchip/rockchip_drm_drv.c
parentade52af9e13a584aa4c54bb3fce71b2bad5b0a35 (diff)
downloadlinux-00fe614863eed7ca39fc72a307c6dff57b690476.tar.gz
linux-00fe614863eed7ca39fc72a307c6dff57b690476.tar.bz2
linux-00fe614863eed7ca39fc72a307c6dff57b690476.zip
drivers/gpu: include <module.h> 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 <airlied@linux.ie> Cc: Mark Yao <mark.yao@rock-chips.com> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_drv.c')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
index 3962176ee713..01b558fe3695 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
@@ -21,6 +21,7 @@
#include <drm/drm_fb_helper.h>
#include <linux/dma-mapping.h>
#include <linux/pm_runtime.h>
+#include <linux/module.h>
#include <linux/of_graph.h>
#include <linux/component.h>