From: Antonino A. Daplas Date: Tue, 10 Jan 2006 04:53:05 +0000 (-0800) Subject: [PATCH] fbdev: asiliantfb: Driver cleanups X-Git-Tag: firefly_0821_release~39288 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2a9f61702608b6ae7905063278b832439e608938;p=firefly-linux-kernel-4.4.55.git [PATCH] fbdev: asiliantfb: Driver cleanups - allocate just enough space for the pseudo_palette Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;