gma500: mark psb_fbdev_destroy() and psb_fbdev_fini() as static
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:03:44 +0000 (16:03 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:05:58 +0000 (13:05 +0000)
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/framebuffer.c

index bfeb96d5cce86fe54f1d5071e15b288a4887f670..98006308bab25cfc8fab49f848f74bc9b9e04c53 100644 (file)
@@ -562,7 +562,7 @@ struct drm_fb_helper_funcs psb_fb_helper_funcs = {
        .fb_probe = psbfb_probe,
 };
 
-int psb_fbdev_destroy(struct drm_device *dev, struct psb_fbdev *fbdev)
+static int psb_fbdev_destroy(struct drm_device *dev, struct psb_fbdev *fbdev)
 {
        struct fb_info *info;
        struct psb_framebuffer *psbfb = &fbdev->pfb;
@@ -604,7 +604,7 @@ int psb_fbdev_init(struct drm_device *dev)
        return 0;
 }
 
-void psb_fbdev_fini(struct drm_device *dev)
+static void psb_fbdev_fini(struct drm_device *dev)
 {
        struct drm_psb_private *dev_priv = dev->dev_private;