aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2012-07-25 17:19:59 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-05 01:19:31 -0400
commitf6b3df625ab8285398b4acf02942a8e742e72efc (patch)
treeddc064d1988aa507b030971b10da0e1c98d17271 /drivers/video
parentd88dc13a2463cac2a909d6b8570b7d47f88f1b6e (diff)
powerpc/ps3: Replace virt_to_abs() with __pa()
virt_to_abs() is just a wrapper around __pa(), call __pa() directly. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/ps3fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index 213fbbcf613b..4e292f29bf5d 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -31,7 +31,6 @@
31#include <linux/fb.h> 31#include <linux/fb.h>
32#include <linux/init.h> 32#include <linux/init.h>
33 33
34#include <asm/abs_addr.h>
35#include <asm/cell-regs.h> 34#include <asm/cell-regs.h>
36#include <asm/lv1call.h> 35#include <asm/lv1call.h>
37#include <asm/ps3av.h> 36#include <asm/ps3av.h>
@@ -1141,7 +1140,7 @@ static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev)
1141 */ 1140 */
1142 fb_start = ps3fb_videomemory.address + GPU_FB_START; 1141 fb_start = ps3fb_videomemory.address + GPU_FB_START;
1143 info->screen_base = (char __force __iomem *)fb_start; 1142 info->screen_base = (char __force __iomem *)fb_start;
1144 info->fix.smem_start = virt_to_abs(fb_start); 1143 info->fix.smem_start = __pa(fb_start);
1145 info->fix.smem_len = ps3fb_videomemory.size - GPU_FB_START; 1144 info->fix.smem_len = ps3fb_videomemory.size - GPU_FB_START;
1146 1145
1147 info->pseudo_palette = par->pseudo_palette; 1146 info->pseudo_palette = par->pseudo_palette;