gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 8 Mar 2012 16:08:45 +0000 (16:08 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Mar 2012 13:06:08 +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/psb_drv.c

index fb1f5378c0fe47cba99a5967e1d799e1c11dec1b..fc09f6ab214ae6b21454b86103208eb487868cb4 100644 (file)
@@ -410,7 +410,7 @@ out_err:
        return ret;
 }
 
-int psb_driver_device_is_agp(struct drm_device *dev)
+static int psb_driver_device_is_agp(struct drm_device *dev)
 {
        return 0;
 }
@@ -601,7 +601,7 @@ static long psb_unlocked_ioctl(struct file *filp, unsigned int cmd,
 /* When a client dies:
  *    - Check for and clean up flipped page state
  */
-void psb_driver_preclose(struct drm_device *dev, struct drm_file *priv)
+static void psb_driver_preclose(struct drm_device *dev, struct drm_file *priv)
 {
 }