summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-08-30 11:04:30 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:03 -0400
commite0cd3608135b2ed8eddbe3fdf048d22e0593d836 (patch)
tree5daf0905d524b4c1fedbc706b94b998069bdd411 /drivers/gpu/drm/mga
parent2d1a8a48ac68a835c42d8a31a02b8158cd599615 (diff)
downloadlinux-e0cd3608135b2ed8eddbe3fdf048d22e0593d836.tar.gz
linux-e0cd3608135b2ed8eddbe3fdf048d22e0593d836.tar.bz2
linux-e0cd3608135b2ed8eddbe3fdf048d22e0593d836.zip
gpu: add module.h to drivers/gpu files as required.
So that we don't get build failures once the implicit module.h presence is removed. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/gpu/drm/mga')
-rw-r--r--drivers/gpu/drm/mga/mga_drv.c2
-rw-r--r--drivers/gpu/drm/mga/mga_warp.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mga/mga_drv.c b/drivers/gpu/drm/mga/mga_drv.c
index 42d31874edf2..33daa29eea66 100644
--- a/drivers/gpu/drm/mga/mga_drv.c
+++ b/drivers/gpu/drm/mga/mga_drv.c
@@ -29,6 +29,8 @@
* Gareth Hughes <gareth@valinux.com>
*/
+#include <linux/module.h>
+
#include "drmP.h"
#include "drm.h"
#include "mga_drm.h"
diff --git a/drivers/gpu/drm/mga/mga_warp.c b/drivers/gpu/drm/mga/mga_warp.c
index f172bd5c257f..722a91b69b0c 100644
--- a/drivers/gpu/drm/mga/mga_warp.c
+++ b/drivers/gpu/drm/mga/mga_warp.c
@@ -30,6 +30,7 @@
#include <linux/firmware.h>
#include <linux/ihex.h>
#include <linux/platform_device.h>
+#include <linux/module.h>
#include "drmP.h"
#include "drm.h"