projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a4183
)
[PATCH] fbdev: asiliantfb: Driver cleanups
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 10 Jan 2006 04:53:05 +0000
(20:53 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:45 +0000
(08:01 -0800)
- 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>
drivers/video/asiliantfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/asiliantfb.c
b/drivers/video/asiliantfb.c
index
c64de59
..
69f7554
100644
(file)
--- 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) *
25
6, &dp->dev);
+ p = framebuffer_alloc(sizeof(u32) *
1
6, &dp->dev);
if (!p) {
release_mem_region(addr, size);
return -ENOMEM;