gpu: Add export.h as required to drivers/gpu files.

They need this to get all the EXPORT_SYMBOL variants and THIS_MODULE

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
Paul Gortmaker 2011-08-30 18:16:33 -04:00
parent 44a8e3772f
commit 2d1a8a48ac
30 changed files with 33 additions and 0 deletions

View File

@ -31,6 +31,7 @@
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
# define ATI_PCIGART_PAGE_SIZE 4096 /**< PCI GART page size */ # define ATI_PCIGART_PAGE_SIZE 4096 /**< PCI GART page size */

View File

@ -32,6 +32,7 @@
* Pauli Nieminen <suokkos-at-gmail-dot-com> * Pauli Nieminen <suokkos-at-gmail-dot-com>
*/ */
#include <linux/export.h>
#include "drm_buffer.h" #include "drm_buffer.h"
/** /**

View File

@ -36,6 +36,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/export.h>
#include <asm/shmparam.h> #include <asm/shmparam.h>
#include "drmP.h" #include "drmP.h"

View File

@ -28,6 +28,7 @@
* Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com> * Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com>
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#if defined(CONFIG_X86) #if defined(CONFIG_X86)

View File

@ -31,6 +31,7 @@
*/ */
#include <linux/list.h> #include <linux/list.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drm.h" #include "drm.h"
#include "drmP.h" #include "drmP.h"
#include "drm_crtc.h" #include "drm_crtc.h"

View File

@ -29,6 +29,8 @@
* Jesse Barnes <jesse.barnes@intel.com> * Jesse Barnes <jesse.barnes@intel.com>
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm_crtc.h" #include "drm_crtc.h"
#include "drm_crtc_helper.h" #include "drm_crtc_helper.h"

View File

@ -33,6 +33,7 @@
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)

View File

@ -33,6 +33,7 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
/** /**

View File

@ -48,6 +48,7 @@
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm_core.h" #include "drm_core.h"

View File

@ -30,6 +30,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm_edid.h" #include "drm_edid.h"
#include "drm_edid_modes.h" #include "drm_edid_modes.h"

View File

@ -36,6 +36,7 @@
#include "drm_hashtab.h" #include "drm_hashtab.h"
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
int drm_ht_create(struct drm_open_hash *ht, unsigned int order) int drm_ht_create(struct drm_open_hash *ht, unsigned int order)
{ {

View File

@ -29,6 +29,7 @@
*/ */
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/ratelimit.h> #include <linux/ratelimit.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm_core.h" #include "drm_core.h"

View File

@ -40,6 +40,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/vgaarb.h> #include <linux/vgaarb.h>
#include <linux/export.h>
/* Access macro for slots in vblank timestamp ringbuffer. */ /* Access macro for slots in vblank timestamp ringbuffer. */
#define vblanktimestamp(dev, crtc, count) ( \ #define vblanktimestamp(dev, crtc, count) ( \

View File

@ -34,6 +34,7 @@
*/ */
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
/** /**

View File

@ -45,6 +45,7 @@
#include "drm_mm.h" #include "drm_mm.h"
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/export.h>
#define MM_UNUSED_TARGET 4 #define MM_UNUSED_TARGET 4

View File

@ -32,6 +32,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/list_sort.h> #include <linux/list_sort.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm.h" #include "drm.h"
#include "drm_crtc.h" #include "drm_crtc.h"

View File

@ -39,6 +39,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
/**********************************************************************/ /**********************************************************************/

View File

@ -25,6 +25,7 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
/** /**

View File

@ -39,6 +39,7 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
/*************************************************** /***************************************************

View File

@ -36,6 +36,7 @@
* Thomas Hellström <thomas-at-tungstengraphics-dot-com> * Thomas Hellström <thomas-at-tungstengraphics-dot-com>
*/ */
#include <linux/export.h>
#include "drm_sman.h" #include "drm_sman.h"
struct drm_owner_item { struct drm_owner_item {

View File

@ -16,6 +16,7 @@
#include <linux/kdev_t.h> #include <linux/kdev_t.h>
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/export.h>
#include "drm_sysfs.h" #include "drm_sysfs.h"
#include "drm_core.h" #include "drm_core.h"

View File

@ -1,5 +1,6 @@
#include "drmP.h" #include "drmP.h"
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/export.h>
#ifdef CONFIG_USB #ifdef CONFIG_USB
int drm_get_usb_dev(struct usb_interface *interface, int drm_get_usb_dev(struct usb_interface *interface,

View File

@ -34,6 +34,7 @@
*/ */
#include "drmP.h" #include "drmP.h"
#include <linux/export.h>
#if defined(__ia64__) #if defined(__ia64__)
#include <linux/efi.h> #include <linux/efi.h>
#include <linux/slab.h> #include <linux/slab.h>

View File

@ -29,6 +29,7 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm.h" #include "drm.h"
#include "intel_drv.h" #include "intel_drv.h"

View File

@ -27,6 +27,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm.h" #include "drm.h"
#include "drm_crtc.h" #include "drm_crtc.h"

View File

@ -28,6 +28,7 @@
*/ */
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-algo-bit.h> #include <linux/i2c-algo-bit.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm.h" #include "drm.h"
#include "intel_drv.h" #include "intel_drv.h"

View File

@ -28,6 +28,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "drm.h" #include "drm.h"
#include "drm_crtc.h" #include "drm_crtc.h"

View File

@ -23,6 +23,8 @@
* Authors: Dave Airlie * Authors: Dave Airlie
* Alex Deucher * Alex Deucher
*/ */
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "radeon_drm.h" #include "radeon_drm.h"
#include "radeon.h" #include "radeon.h"

View File

@ -35,6 +35,7 @@
#include <linux/file.h> #include <linux/file.h>
#include <linux/swap.h> #include <linux/swap.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/export.h>
#include "drm_cache.h" #include "drm_cache.h"
#include "drm_mem_util.h" #include "drm_mem_util.h"
#include "ttm/ttm_module.h" #include "ttm/ttm_module.h"

View File

@ -26,6 +26,8 @@
* *
**************************************************************************/ **************************************************************************/
#include <linux/export.h>
#include "drmP.h" #include "drmP.h"
#include "vmwgfx_drv.h" #include "vmwgfx_drv.h"