aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/asiliantfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/asiliantfb.c')
-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)
549 if (!request_mem_region(addr, size, "asiliantfb")) 549 if (!request_mem_region(addr, size, "asiliantfb"))
550 return -EBUSY; 550 return -EBUSY;
551 551
552 p = framebuffer_alloc(sizeof(u32) * 256, &dp->dev); 552 p = framebuffer_alloc(sizeof(u32) * 16, &dp->dev);
553 if (!p) { 553 if (!p) {
554 release_mem_region(addr, size); 554 release_mem_region(addr, size);
555 return -ENOMEM; 555 return -ENOMEM;