drm/i915: fix sparse warnings: make symbols static
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_dma.c
index 0dee776b91fbc302eef50c6e9142fe9ecec70a39..b8723b7a75b66d7c586def3789d8819fc13134ce 100644 (file)
@@ -821,8 +821,8 @@ static int i915_set_status_page(struct drm_device *dev, void *data,
  * some RAM for the framebuffer at early boot.  This code figures out
  * how much was set aside so we can use it for our own purposes.
  */
-int i915_probe_agp(struct drm_device *dev, unsigned long *aperture_size,
-                  unsigned long *preallocated_size)
+static int i915_probe_agp(struct drm_device *dev, unsigned long *aperture_size,
+                         unsigned long *preallocated_size)
 {
        struct pci_dev *bridge_dev;
        u16 tmp = 0;
@@ -1007,7 +1007,7 @@ void i915_master_destroy(struct drm_device *dev, struct drm_master *master)
 }
 
 
-int i915_driver_firstopen(struct drm_device *dev)
+static int i915_driver_firstopen(struct drm_device *dev)
 {
        if (drm_core_check_feature(dev, DRIVER_MODESET))
                return 0;
This page took 0.037486 seconds and 5 git commands to generate.