diff options
author | Masanari Iida <standby24x7@gmail.com> | 2012-07-21 19:23:15 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-07-24 14:58:15 +0400 |
commit | ff0c26424c1d993d8d1e04f72f1d428e935798da (patch) | |
tree | acd684945cc5b97970419e0a96f2423ff9212ebf /drivers/video/i740fb.c | |
parent | f9028317b2046ea13595c55fb29922d8d97cf497 (diff) | |
download | linux-ff0c26424c1d993d8d1e04f72f1d428e935798da.tar.xz |
video: Fix typo in drivers/video
Correct spelling typo in debug messages and comments
within drivers/video.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/video/i740fb.c')
-rw-r--r-- | drivers/video/i740fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index fe574d84ed99..ff3f8808e4e9 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -497,7 +497,7 @@ static int i740fb_decode_var(const struct fb_var_screeninfo *var, mem = vxres * vyres * ((bpp + 1) / 8); if (mem > info->screen_size) { - dev_err(info->device, "not enough video memory (%d KB requested, %ld KB avaliable)\n", + dev_err(info->device, "not enough video memory (%d KB requested, %ld KB available)\n", mem >> 10, info->screen_size >> 10); return -ENOMEM; } @@ -728,7 +728,7 @@ static void vga_protect(struct i740fb_par *par) i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0x20, 0x20); i740inb(par, 0x3DA); - i740outb(par, VGA_ATT_W, 0x00); /* enable pallete access */ + i740outb(par, VGA_ATT_W, 0x00); /* enable palette access */ } static void vga_unprotect(struct i740fb_par *par) @@ -737,7 +737,7 @@ static void vga_unprotect(struct i740fb_par *par) i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0, 0x20); i740inb(par, 0x3DA); - i740outb(par, VGA_ATT_W, 0x20); /* disable pallete access */ + i740outb(par, VGA_ATT_W, 0x20); /* disable palette access */ } static int i740fb_set_par(struct fb_info *info) |