drm/i915: fix sparse warnings: make symbols static
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_fb.c
index bbf3e7f54f1eaee10c497dc3fa0c8160e5cd2bf3..3e38da0f60968e8513b1d2ac59ccb7b1769a93c7 100644 (file)
@@ -338,7 +338,7 @@ static void intelfb_off(struct fb_info *info, int dpms_mode)
        }
 }
 
-int intelfb_blank(int blank, struct fb_info *info)
+static int intelfb_blank(int blank, struct fb_info *info)
 {
        switch (blank) {
        case FB_BLANK_UNBLANK:
@@ -428,10 +428,10 @@ static struct notifier_block paniced = {
        .notifier_call = intelfb_panic,
 };
 
-int intelfb_create(struct drm_device *dev, uint32_t fb_width,
-                  uint32_t fb_height, uint32_t surface_width,
-                  uint32_t surface_height,
-                  struct intel_framebuffer **intel_fb_p)
+static int intelfb_create(struct drm_device *dev, uint32_t fb_width,
+                         uint32_t fb_height, uint32_t surface_width,
+                         uint32_t surface_height,
+                         struct intel_framebuffer **intel_fb_p)
 {
        struct fb_info *info;
        struct intelfb_par *par;
This page took 0.02504 seconds and 5 git commands to generate.