Skip to contentSkip to conversation

asiliantfb: Driver cleanups

PATCH In review Antonino A. Daplas 1 participant 1 message Nov 30, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 5/16 asiliantfb: Driver cleanups

- allocate just enough space for the pseudo_palette

---

 drivers/video/asiliantfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/asiliantfb.c +1 -1
index c64de59..69f7554 100644
@@ -549,7 +549,7 @@ asiliantfb_pci_init(struct pci_dev *dp, 
 	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;

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click