diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-03 02:37:35 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-08 18:57:30 +0200 |
commit | b71b76333952053c383d20f7b2175968d8ada304 (patch) | |
tree | 2986604a1b346e2c4ca30b101988aee69f95c6cd /drivers | |
parent | video: mb862xx-i2c: local functions should not be exposed globally (diff) | |
download | linux-b71b76333952053c383d20f7b2175968d8ada304.tar.xz linux-b71b76333952053c383d20f7b2175968d8ada304.zip |
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 <hsweeten@visionengravers.com>
Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mb862xx/mb862xxfbdrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |