Skip to contentSkip to conversation

fbdev: use get/put_endian helpers

PATCH In review Harvey Harrison 1 participant 1 message May 29, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 20/37 fbdev: use get/put_endian helpers

---
 drivers/video/aty/mach64_accel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/aty/mach64_accel.c +1 -1
index a8f60c3..4e8b77c 100644
@@ -412,7 +412,7 @@ void atyfb_imageblit(struct fb_info *info, const struct fb_image *image)
 		u32 *pbitmap, dwords = (src_bytes + 3) / 4;
 		for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) {
 			wait_for_fifo(1, par);
-			aty_st_le32(HOST_DATA0, le32_to_cpup(pbitmap), par);
+			aty_st_le32(HOST_DATA0, get_le32(pbitmap), par);
 		}
 	}
 
Signature · 1 line
1.5.6.rc0.277.g804cf