aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r--drivers/gpu/drm/drm_pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c
index bd719e936e13..14194b6ef644 100644
--- a/drivers/gpu/drm/drm_pci.c
+++ b/drivers/gpu/drm/drm_pci.c
@@ -152,7 +152,7 @@ static const char *drm_pci_get_name(struct drm_device *dev)
152 return pdriver->name; 152 return pdriver->name;
153} 153}
154 154
155int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) 155static int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master)
156{ 156{
157 int len, ret; 157 int len, ret;
158 struct pci_driver *pdriver = dev->driver->kdriver.pci; 158 struct pci_driver *pdriver = dev->driver->kdriver.pci;
@@ -194,9 +194,9 @@ err:
194 return ret; 194 return ret;
195} 195}
196 196
197int drm_pci_set_unique(struct drm_device *dev, 197static int drm_pci_set_unique(struct drm_device *dev,
198 struct drm_master *master, 198 struct drm_master *master,
199 struct drm_unique *u) 199 struct drm_unique *u)
200{ 200{
201 int domain, bus, slot, func, ret; 201 int domain, bus, slot, func, ret;
202 const char *bus_name; 202 const char *bus_name;
@@ -266,7 +266,7 @@ static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p)
266 return 0; 266 return 0;
267} 267}
268 268
269int drm_pci_agp_init(struct drm_device *dev) 269static int drm_pci_agp_init(struct drm_device *dev)
270{ 270{
271 if (drm_core_has_AGP(dev)) { 271 if (drm_core_has_AGP(dev)) {
272 if (drm_pci_device_is_agp(dev)) 272 if (drm_pci_device_is_agp(dev))