asiliantfb: Driver cleanups
PATCH 5/16 asiliantfb: Driver cleanups
- allocate just enough space for the pseudo_palette
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/asiliantfb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/asiliantfb.c +1 -1
@@ -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