Skip to contentSkip to conversation

intelfb: cleanup constant usage

PATCH New Dennis Munsie 1 participant 1 message Jul 20, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intelfb: cleanup constant usage

From: Dennis Munsie <[email protected]>

Uses the correct constants for shifting in the intelfb driver. Since the constants are the same value, this patch is only for consistency purposes.

---

 drivers/video/intelfb/intelfbhw.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/intelfb/intelfbhw.c +2 -2
diff -Naurp -X linux-2.6.18-rc2-patched/Documentation/dontdiff linux-2.6.18-rc2-patched/drivers/video/intelfb/intelfbhw.c linux-2.6.18-rc2-cleanup/drivers/video/intelfb/intelfbhw.c
@@ -1187,12 +1187,12 @@ intelfbhw_mode_to_hw(struct intelfb_info
 
 	*ht = (htotal << HTOTAL_SHIFT) | (hactive << HACTIVE_SHIFT);
 	*hb = (hblank_start << HBLANKSTART_SHIFT) |
-	      (hblank_end << HSYNCEND_SHIFT);
+	      (hblank_end << HBLANKEND_SHIFT);
 	*hs = (hsync_start << HSYNCSTART_SHIFT) | (hsync_end << HSYNCEND_SHIFT);
 
 	*vt = (vtotal << VTOTAL_SHIFT) | (vactive << VACTIVE_SHIFT);
 	*vb = (vblank_start << VBLANKSTART_SHIFT) |
-	      (vblank_end << VSYNCEND_SHIFT);
+	      (vblank_end << VBLANKEND_SHIFT);
 	*vs = (vsync_start << VSYNCSTART_SHIFT) | (vsync_end << VSYNCEND_SHIFT);
 	*ss = (hactive << SRC_SIZE_HORIZ_SHIFT) |
 	      (vactive << SRC_SIZE_VERT_SHIFT);

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV