diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-03 10:00:08 -0800 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-09 17:06:29 +0000 |
commit | 23e5abd5555b86fd56af6383e7a832b0cf2a2d95 (patch) | |
tree | 3466b403df83a0d150132169e5fdab5c396742ed /drivers/video/via/hw.c | |
parent | b65d6040e3a7cd75d9287f7ddfd115e85fde4b44 (diff) | |
download | op-kernel-dev-23e5abd5555b86fd56af6383e7a832b0cf2a2d95.zip op-kernel-dev-23e5abd5555b86fd56af6383e7a832b0cf2a2d95.tar.gz |
video via: make local variables static
Many local variables should be declared static.
Found by sparse, compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r-- | drivers/video/via/hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 36d73f9..9ecf4862 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -751,7 +751,7 @@ void viafb_unlock_crt(void) viafb_write_reg_mask(CR47, VIACR, 0, BIT0); } -void write_dac_reg(u8 index, u8 r, u8 g, u8 b) +static void write_dac_reg(u8 index, u8 r, u8 g, u8 b) { outb(index, LUT_INDEX_WRITE); outb(r, LUT_DATA); |