From: Kirill A. Shutemov Date: Thu, 8 Mar 2012 16:08:45 +0000 (+0000) Subject: gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=15308e23fb1bbb485be648b379717cecdc8a0da1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gma500: mark psb_driver_device_is_agp() and psb_driver_preclose() as static Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c index fb1f5378c0fe..fc09f6ab214a 100644 --- a/drivers/gpu/drm/gma500/psb_drv.c +++ b/drivers/gpu/drm/gma500/psb_drv.c @@ -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) { }