summaryrefslogtreecommitdiffstats
path: root/drivers/video/i740fb.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-07-22 00:23:15 +0900
committerJiri Kosina <jkosina@suse.cz>2012-07-24 12:58:15 +0200
commitff0c26424c1d993d8d1e04f72f1d428e935798da (patch)
treeacd684945cc5b97970419e0a96f2423ff9212ebf /drivers/video/i740fb.c
parentf9028317b2046ea13595c55fb29922d8d97cf497 (diff)
downloadop-kernel-dev-ff0c26424c1d993d8d1e04f72f1d428e935798da.zip
op-kernel-dev-ff0c26424c1d993d8d1e04f72f1d428e935798da.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c
index fe574d8..ff3f880 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)
OpenPOWER on IntegriCloud