gpu: Add export.h as required to drivers/gpu files.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 30 Aug 2011 22:16:33 +0000 (18:16 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:03 +0000 (19:32 -0400)
They need this to get all the EXPORT_SYMBOL variants and THIS_MODULE

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
30 files changed:
drivers/gpu/drm/ati_pcigart.c
drivers/gpu/drm/drm_buffer.c
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_cache.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_debugfs.c
drivers/gpu/drm/drm_dma.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_hashtab.c
drivers/gpu/drm/drm_ioc32.c
drivers/gpu/drm/drm_irq.c
drivers/gpu/drm/drm_memory.c
drivers/gpu/drm/drm_mm.c
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_platform.c
drivers/gpu/drm/drm_proc.c
drivers/gpu/drm/drm_sman.c
drivers/gpu/drm/drm_sysfs.c
drivers/gpu/drm/drm_usb.c
drivers/gpu/drm/drm_vm.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_i2c.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/radeon/radeon_i2c.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c

index 1c3649242208a5f38f8bda017799f4519a14e43d..9afe495c12c7a40b8d58001757ea1ac6e947a938 100644 (file)
@@ -31,6 +31,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#include <linux/export.h>
 #include "drmP.h"
 
 # define ATI_PCIGART_PAGE_SIZE         4096    /**< PCI GART page size */
index 529a0dbe9fc65960e62bc7840320754fb61393e8..08ccefedb327d9fb5819d719ef3e15cabf9568ee 100644 (file)
@@ -32,6 +32,7 @@
  * Pauli Nieminen <suokkos-at-gmail-dot-com>
  */
 
+#include <linux/export.h>
 #include "drm_buffer.h"
 
 /**
index 61e1ef90d4e5190cc9ca515f5f043b55a0465c5f..30372f7b2d457a8803e819d9050ccd3c525e7825 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
 #include <linux/log2.h>
+#include <linux/export.h>
 #include <asm/shmparam.h>
 #include "drmP.h"
 
index 0e3bd5b54b78c57ba7fcf3df524aedaa32bf366e..592865381c6e84acb5ec66fef2e865e897d586e0 100644 (file)
@@ -28,6 +28,7 @@
  * Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com>
  */
 
+#include <linux/export.h>
 #include "drmP.h"
 
 #if defined(CONFIG_X86)
index fe738f05309ba39e6341d0fd79557f153711cb2f..711d9653abd08f1f436b2977a5a5514a1ce0c43f 100644 (file)
@@ -31,6 +31,7 @@
  */
 #include <linux/list.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drm.h"
 #include "drmP.h"
 #include "drm_crtc.h"
index f2366440b738a1fe71c105fb8a1eaee88d775fdb..c078c753fb40bb7f8d40411c752073d4be2272f5 100644 (file)
@@ -29,6 +29,8 @@
  *      Jesse Barnes <jesse.barnes@intel.com>
  */
 
+#include <linux/export.h>
+
 #include "drmP.h"
 #include "drm_crtc.h"
 #include "drm_crtc_helper.h"
index b9dc2629ea9aec5f8f7fd583be1e070e4871828f..d067c12ba9400d51ef41af0948a93f92d54f611b 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drmP.h"
 
 #if defined(CONFIG_DEBUG_FS)
index 252cbd74df0e6b862e07d340ba617cac165f1759..cfb4e333ec0fd1ee5e8b598b2d14fc6f48ad8554 100644 (file)
@@ -33,6 +33,7 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
+#include <linux/export.h>
 #include "drmP.h"
 
 /**
index 7a87e0878f3008f5db63d850c9e9603fdbf79de1..fc81af9dbf42d1a3522b98fa9620f3240a1978b2 100644 (file)
@@ -48,6 +48,7 @@
 
 #include <linux/debugfs.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm_core.h"
 
index fe39c35705389b5dcaffc76b0061e80548404b00..3e927ce7557d6a41f7bc1a6e27b088be127006d0 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/i2c.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm_edid.h"
 #include "drm_edid_modes.h"
index e3a75688f3cdc6543b67fef3d6b8c3c2a6149a8c..68dc8744b63002e34581d4826aab252a7170ef14 100644 (file)
@@ -36,6 +36,7 @@
 #include "drm_hashtab.h"
 #include <linux/hash.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 int drm_ht_create(struct drm_open_hash *ht, unsigned int order)
 {
index 4a058c7af6c096f6dd69dd533701a9adb3091b09..ddd70db45f7611747ee63551db2846d31383bc34 100644 (file)
@@ -29,6 +29,7 @@
  */
 #include <linux/compat.h>
 #include <linux/ratelimit.h>
+#include <linux/export.h>
 
 #include "drmP.h"
 #include "drm_core.h"
index 3830e9e478c0c4af57e2983181bfc545c854ba45..cb3794a00f98c541264404164f0eba269736126b 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/slab.h>
 
 #include <linux/vgaarb.h>
+#include <linux/export.h>
 
 /* Access macro for slots in vblank timestamp ringbuffer. */
 #define vblanktimestamp(dev, crtc, count) ( \
index c9b805000a11e827c1677c0d81ccb33c5be1442c..c8b6b66d428da7ae167425b8d01f60acebfc30e5 100644 (file)
@@ -34,6 +34,7 @@
  */
 
 #include <linux/highmem.h>
+#include <linux/export.h>
 #include "drmP.h"
 
 /**
index 959186cbf3280b90b911ff54373531ee577eef97..961fb54f4266e9fd3595873f61281393765cf5b2 100644 (file)
@@ -45,6 +45,7 @@
 #include "drm_mm.h"
 #include <linux/slab.h>
 #include <linux/seq_file.h>
+#include <linux/export.h>
 
 #define MM_UNUSED_TARGET 4
 
index ad74fb4dc5422925f954142c0aae322c2e2f2572..fb8e46b4e8bc9b7f2a4b0e05ae38a49c99b82b2b 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <linux/list.h>
 #include <linux/list_sort.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm.h"
 #include "drm_crtc.h"
index b6a19cb07cafc3591f2ff946532851f63a14270d..d4d10b7880cf8b96303d6c539ff09a08299241f2 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 #include "drmP.h"
 
 /**********************************************************************/
index 2a8b6265ad3d61822e15b678dbaeb88e30dc7445..ae9db5e2b27c2449b04150be14eee439a608c0db 100644 (file)
@@ -25,6 +25,7 @@
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
+#include <linux/export.h>
 #include "drmP.h"
 
 /**
index 0f3c4e3cafc3454ec0d826cc0530f4883655eba7..fff87221f9e973aef715391366293a4b784a0a13 100644 (file)
@@ -39,6 +39,7 @@
 
 #include <linux/seq_file.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drmP.h"
 
 /***************************************************
index 34664587a74e08becbd86d223c6a3e2273b6a468..cebce45f442943efe4202d9f8b4b3763cd2b7ab8 100644 (file)
@@ -36,6 +36,7 @@
  * Thomas Hellström <thomas-at-tungstengraphics-dot-com>
  */
 
+#include <linux/export.h>
 #include "drm_sman.h"
 
 struct drm_owner_item {
index 2eee8e016b38530f0ddc4d1e46d4e89ff9419ffd..0f9ef9bf6730aa6ee68b9ce763f1e76bd62ee63a 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/kdev_t.h>
 #include <linux/gfp.h>
 #include <linux/err.h>
+#include <linux/export.h>
 
 #include "drm_sysfs.h"
 #include "drm_core.h"
index 206d2300d873bab2c2a6c06b79a0fd2f06a3d48c..445003f4dc939cbc731a915551b509633f2f6769 100644 (file)
@@ -1,5 +1,6 @@
 #include "drmP.h"
 #include <linux/usb.h>
+#include <linux/export.h>
 
 #ifdef CONFIG_USB
 int drm_get_usb_dev(struct usb_interface *interface,
index 5db96d45fc71677fcf0b6432e0f32dfd22b774d4..8c03eaf414486c9590c830d2e551369406afff84 100644 (file)
@@ -34,6 +34,7 @@
  */
 
 #include "drmP.h"
+#include <linux/export.h>
 #if defined(__ia64__)
 #include <linux/efi.h>
 #include <linux/slab.h>
index 8e95d66800b09abdcd38f196b6503990eed7ccd3..d14b44e13f5190e73077a70c48508010fb311602 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/seq_file.h>
 #include <linux/debugfs.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm.h"
 #include "intel_drv.h"
index fc1a0832af4fed4a131c8611c4a1e3f3fc0e655b..09b318b0227f3571402c479c06bb376c6aae7eda 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <linux/i2c.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm.h"
 #include "drm_crtc.h"
index 9ed5380e5a53795db3bd73fa73fa5407c8dc727a..d30ccccb9d738ad4f1f893ec15b5df9fb90bd50f 100644 (file)
@@ -28,6 +28,7 @@
  */
 #include <linux/i2c.h>
 #include <linux/i2c-algo-bit.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm.h"
 #include "intel_drv.h"
index 6db3b1ccb6ebda273255f50bfd931f5e7acd14de..3003fb25aefde4ac697a5d2694d825faec76fe0d 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/i2c.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include "drmP.h"
 #include "drm.h"
 #include "drm_crtc.h"
index 02cb7da4124d4ce68fa59aa93c7a94395e4fded7..e6d110ce23314724fdd50f35a29dc61b771caef5 100644 (file)
@@ -23,6 +23,8 @@
  * Authors: Dave Airlie
  *          Alex Deucher
  */
+#include <linux/export.h>
+
 #include "drmP.h"
 #include "radeon_drm.h"
 #include "radeon.h"
index 58c271ebc0f73f6829dae7cffa9d680480ad0dd1..f9cc548d6d98cddfe0eccb5dcc154b059162b2d1 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/file.h>
 #include <linux/swap.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include "drm_cache.h"
 #include "drm_mem_util.h"
 #include "ttm/ttm_module.h"
index 070797b7b03ae6f22f0b8670094c4690b70f40ea..34e51a1695b84f1d438431501f6df60598bbb79b 100644 (file)
@@ -26,6 +26,8 @@
  *
  **************************************************************************/
 
+#include <linux/export.h>
+
 #include "drmP.h"
 #include "vmwgfx_drv.h"