gma500: mdfld_device: mark few functions as static
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:11:14 +0000 (16:11 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:06:26 +0000 (13:06 +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/mdfld_device.c

index 6cfdda90eef1b0f7f0f67c0dc7e160b9d5c6e665..af656787db0f5fcdf4e3c5d5be441db47f64937a 100644 (file)
@@ -93,7 +93,7 @@ int mdfld_set_brightness(struct backlight_device *bd)
        return 0;
 }
 
-int mdfld_get_brightness(struct backlight_device *bd)
+static int mdfld_get_brightness(struct backlight_device *bd)
 {
        struct drm_device *dev =
                (struct drm_device *)bl_get_data(mdfld_backlight_device);
@@ -121,7 +121,7 @@ static int device_backlight_init(struct drm_device *dev)
        return 0;
 }
 
-int mdfld_backlight_init(struct drm_device *dev)
+static int mdfld_backlight_init(struct drm_device *dev)
 {
        struct backlight_properties props;
        int ret = 0;