Message ID | 1368186908-16982-1-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 10/05/13 14:55, Sachin Kamat wrote: > These symbols are used only in this file. > Make them static. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > drivers/video/imxfb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I've added this and the following three other small cleanups to my fbdev-3.11 branch: video: smscufx: Use NULL instead of 0 video: udlfb: Use NULL instead of 0 video: udlfb: Make local symbol static Tomi
diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c index 0abf2bf..0a16d82 100644 --- a/drivers/video/imxfb.c +++ b/drivers/video/imxfb.c @@ -960,7 +960,7 @@ static int imxfb_remove(struct platform_device *pdev) return 0; } -void imxfb_shutdown(struct platform_device * dev) +static void imxfb_shutdown(struct platform_device *dev) { struct fb_info *info = platform_get_drvdata(dev); struct imxfb_info *fbi = info->par; @@ -999,7 +999,7 @@ static int imxfb_setup(void) return 0; } -int __init imxfb_init(void) +static int __init imxfb_init(void) { int ret = imxfb_setup();
These symbols are used only in this file. Make them static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/video/imxfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)