summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-01-10 07:53:05 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 19:01:45 +0300
commit2a9f61702608b6ae7905063278b832439e608938 (patch)
tree87c291f52a190682e7c5580580219ea82361382f
parentf4a41836f1215ae1835c3f00316b20bb32cbfe99 (diff)
downloadlinux-2a9f61702608b6ae7905063278b832439e608938.tar.xz
[PATCH] fbdev: asiliantfb: Driver cleanups
- allocate just enough space for the pseudo_palette Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/video/asiliantfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/asiliantfb.c b/drivers/video/asiliantfb.c
index c64de59398f4..69f75547865d 100644
--- a/drivers/video/asiliantfb.c
+++ b/drivers/video/asiliantfb.c
@@ -549,7 +549,7 @@ asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
if (!request_mem_region(addr, size, "asiliantfb"))
return -EBUSY;
- p = framebuffer_alloc(sizeof(u32) * 256, &dp->dev);
+ p = framebuffer_alloc(sizeof(u32) * 16, &dp->dev);
if (!p) {
release_mem_region(addr, size);
return -ENOMEM;