Skip to content

Commit

Permalink
gpu: add module.h to drivers/gpu files as required.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 2d1a8a4 commit e0cd360
Show file tree
Hide file tree
Showing 27 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/drm_encoder_slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*
*/

#include <linux/module.h>

#include "drm_encoder_slave.h"

/**
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/sysrq.h>
#include <linux/slab.h>
#include <linux/fb.h>
#include <linux/module.h>
#include "drmP.h"
#include "drm_crtc.h"
#include "drm_fb_helper.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "drmP.h"
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/module.h>

/* from BKL pushdown: note that nothing else serializes idr_find() */
DEFINE_MUTEX(drm_global_mutex);
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i2c/ch7006_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*
*/

#include <linux/module.h>

#include "ch7006_priv.h"

/* DRM encoder functions */
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i2c/sil164_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm_crtc_helper.h"
#include "drm_encoder_slave.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i810/i810_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
* Gareth Hughes <gareth@valinux.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
#include "i810_drm.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <linux/pnp.h>
#include <linux/vga_switcheroo.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <acpi/video.h>

static void i915_write_hws_pga(struct drm_device *dev)
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "intel_drv.h"

#include <linux/console.h>
#include <linux/module.h>
#include "drm_crtc_helper.h"

static int i915_modeset __read_mostly = -1;
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/mga/mga_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* Gareth Hughes <gareth@valinux.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
#include "mga_drm.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/mga/mga_warp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nouveau_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include <linux/console.h>
#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/nouveau/nouveau_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* Authors: Ben Skeggs
*/

#include <linux/module.h>

#include "drmP.h"
#include "nouveau_drv.h"
#include "nouveau_i2c.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/nouveau/nouveau_temp.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* Authors: Martin Peres
*/

#include <linux/module.h>

#include "drmP.h"

#include "nouveau_drv.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nvc0_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include <linux/firmware.h>
#include <linux/module.h>

#include "drmP.h"

Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/r128/r128_cce.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/r128/r128_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* Gareth Hughes <gareth@valinux.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
#include "r128_drm.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "drmP.h"
#include "radeon.h"
#include "radeon_asic.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/r100.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/module.h>

#include "r100_reg_safe.h"
#include "rn50_reg_safe.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/r600.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/seq_file.h>
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include "drmP.h"
#include "radeon_drm.h"
#include "radeon.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/radeon/r600_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* Alex Deucher <alexander.deucher@amd.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
#include "radeon_drm.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/radeon/radeon_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
* Gareth Hughes <gareth@valinux.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "drm.h"
#include "drm_sarea.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/radeon/radeon_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

#include "drm_pciids.h"
#include <linux/console.h>
#include <linux/module.h>


/*
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/savage/savage_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include <linux/module.h>

#include "drmP.h"
#include "savage_drm.h"
#include "savage_drv.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/sis/sis_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*
*/

#include <linux/module.h>

#include "drmP.h"
#include "sis_drm.h"
#include "sis_drv.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/tdfx/tdfx_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
* Gareth Hughes <gareth@valinux.com>
*/

#include <linux/module.h>

#include "drmP.h"
#include "tdfx_drv.h"

Expand Down
2 changes: 2 additions & 0 deletions drivers/gpu/drm/via/via_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/

#include <linux/module.h>

#include "drmP.h"
#include "via_drm.h"
#include "via_drv.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*
**************************************************************************/
#include <linux/module.h>

#include "drmP.h"
#include "vmwgfx_drv.h"
Expand Down

0 comments on commit e0cd360

Please sign in to comment.