aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/mga_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/mga_drv.c')
-rw-r--r--drivers/char/drm/mga_drv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/char/drm/mga_drv.c b/drivers/char/drm/mga_drv.c
index 220037a91c09..0cc7c305a7f6 100644
--- a/drivers/char/drm/mga_drv.c
+++ b/drivers/char/drm/mga_drv.c
@@ -78,9 +78,6 @@ static struct pci_device_id pciidlist[] = {
78 mga_PCI_IDS 78 mga_PCI_IDS
79}; 79};
80 80
81extern drm_ioctl_desc_t mga_ioctls[];
82extern int mga_max_ioctl;
83
84static struct drm_driver driver = { 81static struct drm_driver driver = {
85 .driver_features = 82 .driver_features =
86 DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | DRIVER_USE_MTRR | 83 DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | DRIVER_USE_MTRR |
@@ -151,7 +148,7 @@ MODULE_LICENSE("GPL and additional rights");
151 * \returns 148 * \returns
152 * If the device is a PCI G450, zero is returned. Otherwise 2 is returned. 149 * If the device is a PCI G450, zero is returned. Otherwise 2 is returned.
153 */ 150 */
154int mga_driver_device_is_agp(drm_device_t * dev) 151static int mga_driver_device_is_agp(drm_device_t * dev)
155{ 152{
156 const struct pci_dev *const pdev = dev->pdev; 153 const struct pci_dev *const pdev = dev->pdev;
157 154