summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/i810_drv.c3
-rw-r--r--linux-core/i810_drv.h3
-rw-r--r--linux-core/i830_drv.c3
-rw-r--r--linux-core/i830_drv.h3
-rw-r--r--linux-core/i915_drv.c3
-rw-r--r--linux-core/mach64_drv.c3
-rw-r--r--linux-core/mga_drv.c3
-rw-r--r--linux-core/r128_drv.c3
-rw-r--r--linux-core/radeon_drv.c3
-rw-r--r--linux-core/savage_drv.c3
-rw-r--r--linux-core/sis_drv.c3
11 files changed, 6 insertions, 27 deletions
diff --git a/linux-core/i810_drv.c b/linux-core/i810_drv.c
index fca04cc6..e0235b6a 100644
--- a/linux-core/i810_drv.c
+++ b/linux-core/i810_drv.c
@@ -47,9 +47,6 @@ static struct pci_device_id pciidlist[] = {
i810_PCI_IDS
};
-extern drm_ioctl_desc_t i810_ioctls[];
-extern int i810_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/i810_drv.h b/linux-core/i810_drv.h
index 65bc77dd..b3d50e58 100644
--- a/linux-core/i810_drv.h
+++ b/linux-core/i810_drv.h
@@ -125,6 +125,9 @@ extern void i810_driver_reclaim_buffers_locked(drm_device_t * dev,
struct file *filp);
extern int i810_driver_device_is_agp(drm_device_t * dev);
+extern drm_ioctl_desc_t i810_ioctls[];
+extern int i810_max_ioctl;
+
#define I810_BASE(reg) ((unsigned long) \
dev_priv->mmio_map->handle)
#define I810_ADDR(reg) (I810_BASE(reg) + reg)
diff --git a/linux-core/i830_drv.c b/linux-core/i830_drv.c
index b58b842e..74b574aa 100644
--- a/linux-core/i830_drv.c
+++ b/linux-core/i830_drv.c
@@ -46,9 +46,6 @@ static struct pci_device_id pciidlist[] = {
i830_PCI_IDS
};
-extern drm_ioctl_desc_t i830_ioctls[];
-extern int i830_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/i830_drv.h b/linux-core/i830_drv.h
index 1ab980b4..1f6afe10 100644
--- a/linux-core/i830_drv.h
+++ b/linux-core/i830_drv.h
@@ -120,6 +120,9 @@ typedef struct drm_i830_private {
} drm_i830_private_t;
+extern drm_ioctl_desc_t i830_ioctls[];
+extern int i830_max_ioctl;
+
/* i830_dma.c */
extern void i830_reclaim_buffers(drm_device_t *dev, struct file *filp);
diff --git a/linux-core/i915_drv.c b/linux-core/i915_drv.c
index 8a8eb598..e8cd8c03 100644
--- a/linux-core/i915_drv.c
+++ b/linux-core/i915_drv.c
@@ -38,9 +38,6 @@ static struct pci_device_id pciidlist[] = {
i915_PCI_IDS
};
-extern drm_ioctl_desc_t i915_ioctls[];
-extern int i915_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
/* don't use mtrr's here, the Xserver or user space app should
diff --git a/linux-core/mach64_drv.c b/linux-core/mach64_drv.c
index bcf60b59..ba45132b 100644
--- a/linux-core/mach64_drv.c
+++ b/linux-core/mach64_drv.c
@@ -39,9 +39,6 @@ static struct pci_device_id pciidlist[] = {
mach64_PCI_IDS
};
-extern drm_ioctl_desc_t mach64_ioctls[];
-extern int mach64_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c
index 1a559927..43ba18cb 100644
--- a/linux-core/mga_drv.c
+++ b/linux-core/mga_drv.c
@@ -43,9 +43,6 @@ static struct pci_device_id pciidlist[] = {
mga_PCI_IDS
};
-extern drm_ioctl_desc_t mga_ioctls[];
-extern int mga_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/r128_drv.c b/linux-core/r128_drv.c
index a7223280..edc04b03 100644
--- a/linux-core/r128_drv.c
+++ b/linux-core/r128_drv.c
@@ -41,9 +41,6 @@ static struct pci_device_id pciidlist[] = {
r128_PCI_IDS
};
-extern drm_ioctl_desc_t r128_ioctls[];
-extern int r128_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/radeon_drv.c b/linux-core/radeon_drv.c
index 57c24f4a..fca2d4e7 100644
--- a/linux-core/radeon_drv.c
+++ b/linux-core/radeon_drv.c
@@ -57,9 +57,6 @@ static struct pci_device_id pciidlist[] = {
radeon_PCI_IDS
};
-extern drm_ioctl_desc_t radeon_ioctls[];
-extern int radeon_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/savage_drv.c b/linux-core/savage_drv.c
index 5c7cdd32..9f12dfe2 100644
--- a/linux-core/savage_drv.c
+++ b/linux-core/savage_drv.c
@@ -34,9 +34,6 @@ static struct pci_device_id pciidlist[] = {
savage_PCI_IDS
};
-extern drm_ioctl_desc_t savage_ioctls[];
-extern int savage_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features =
diff --git a/linux-core/sis_drv.c b/linux-core/sis_drv.c
index e524ae2d..96c143a5 100644
--- a/linux-core/sis_drv.c
+++ b/linux-core/sis_drv.c
@@ -36,9 +36,6 @@ static struct pci_device_id pciidlist[] = {
sis_PCI_IDS
};
-extern drm_ioctl_desc_t sis_ioctls[];
-extern int sis_max_ioctl;
-
static int probe(struct pci_dev *pdev, const struct pci_device_id *ent);
static struct drm_driver driver = {
.driver_features = DRIVER_USE_AGP | DRIVER_USE_MTRR,