Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299223
b: refs/heads/master
c: 9301973
h: refs/heads/master
i:
  299221: 64cf932
  299219: 3f172ef
  299215: 3bedca9
v: v3
  • Loading branch information
Manuel Lauss authored and Florian Tobias Schandinat committed Apr 8, 2012
1 parent 924094a commit 0f5b4b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ef798d0207e02e05bfabc7ba96e8a6f2cc07066e
refs/heads/master: 93019734555f8df32239c5922fe2b770c0a08eaa
5 changes: 3 additions & 2 deletions trunk/drivers/video/au1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ static int __devinit au1100fb_drv_probe(struct platform_device *dev)
au1100fb_fix.mmio_start = regs_res->start;
au1100fb_fix.mmio_len = resource_size(regs_res);

if (!devm_request_mem_region(au1100fb_fix.mmio_start,
if (!devm_request_mem_region(&dev->dev,
au1100fb_fix.mmio_start,
au1100fb_fix.mmio_len,
DRIVER_NAME)) {
print_err("fail to lock memory region at 0x%08lx",
Expand All @@ -516,7 +517,7 @@ static int __devinit au1100fb_drv_probe(struct platform_device *dev)
fbdev->fb_len = fbdev->panel->xres * fbdev->panel->yres *
(fbdev->panel->bpp >> 3) * AU1100FB_NBR_VIDEO_BUFFERS;

fbdev->fb_mem = dmam_alloc_coherent(&dev->dev, &dev->dev,
fbdev->fb_mem = dmam_alloc_coherent(&dev->dev,
PAGE_ALIGN(fbdev->fb_len),
&fbdev->fb_phys, GFP_KERNEL);
if (!fbdev->fb_mem) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/au1200fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ static int __devinit au1200fb_drv_probe(struct platform_device *dev)
/* Allocate the framebuffer to the maximum screen size */
fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8;

fbdev->fb_mem = dmam_alloc_noncoherent(&dev->dev, &dev->dev,
fbdev->fb_mem = dmam_alloc_noncoherent(&dev->dev,
PAGE_ALIGN(fbdev->fb_len),
&fbdev->fb_phys, GFP_KERNEL);
if (!fbdev->fb_mem) {
Expand Down

0 comments on commit 0f5b4b0

Please sign in to comment.