On 05/03/2012 12:37 AM, H Hartley Sweeten wrote: > 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 <hsweeten@xxxxxxxxxxxxxxxxxxx> > Cc: Florian Tobias Schandinat <FlorianSchandinat@xxxxxx> > Cc: Anatolij Gustschin <agust@xxxxxxx> Applied. Thanks, Florian Tobias Schandinat > > --- > > diff --git a/drivers/video/mb862xx/mb862xxfbdrv.c b/drivers/video/mb862xx/mb862xxfbdrv.c > index 11a7a33..00ce1f3 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; > -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html