From: H Hartley Sweeten Date: Thu, 3 May 2012 00:37:35 +0000 (-0700) Subject: video: mb862xxfbdrv.c: local functions should not be exposed globally X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b71b76333952053c383d20f7b2175968d8ada304;p=linux-beck.git video: mb862xxfbdrv.c: local functions should not be exposed globally Functions not referenced outside of a source file should be marked static to prevent them from being exposed globally. Quiets the sparse warnings: warning: symbol 'mb862xx_intr' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: Anatolij Gustschin Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/mb862xx/mb862xxfbdrv.c b/drivers/video/mb862xx/mb862xxfbdrv.c index 11a7a333701d..00ce1f34b496 100644 --- a/drivers/video/mb862xx/mb862xxfbdrv.c +++ b/drivers/video/mb862xx/mb862xxfbdrv.c @@ -579,7 +579,7 @@ static ssize_t mb862xxfb_show_dispregs(struct device *dev, static DEVICE_ATTR(dispregs, 0444, mb862xxfb_show_dispregs, NULL); -irqreturn_t mb862xx_intr(int irq, void *dev_id) +static irqreturn_t mb862xx_intr(int irq, void *dev_id) { struct mb862xxfb_par *par = (struct mb862xxfb_par *) dev_id; unsigned long reg_ist, mask;