Re: [PATCH] Atyfb: kill assignment warnings on Atari due to __iomem changes

From
Antonino A. Daplas <hidden>
Date
2004-10-24 12:27:13
Also in
lkml
Reply to
Geert Uytterhoeven, 2004-10-24
On Sunday 24 October 2004 19:15, Geert Uytterhoeven wrote:
Atyfb: kill assignment warnings on Atari due to __iomem changes
I pushed a big mach64 patch (coming from various authors) to Andrew, and
this will  get rejected.

Attached is an incremental patch for the big mach64 update.

Signed-off-by: Antonino Daplas <redacted>
---

---diff -Nru a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
--- a/drivers/video/aty/atyfb_base.c	2004-10-22 15:57:58 +08:00
+++ b/drivers/video/aty/atyfb_base.c	2004-10-24 20:26:04 +08:00
@@ -3457,8 +3457,10 @@
 		 */
 		info->screen_base = ioremap(phys_vmembase[m64_num], phys_size[m64_num]);
 		info->fix.smem_start = (unsigned long)info->screen_base; /* Fake! */
-		par->ati_regbase = ioremap(phys_guiregbase[m64_num], 0x10000) + 0xFC00ul;
-		info->fix.mmio_start = par->ati_regbase; /* Fake! */
+		par->ati_regbase = ioremap(phys_guiregbase[m64_num],
+					   0x10000) + 0xFC00ul;
+		info->fix.mmio_start =
+			(unsigned long)par->ati_regbase; /* Fake! */
 
 		aty_st_le32(CLOCK_CNTL, 0x12345678, par);
 		clock_r = aty_ld_le32(CLOCK_CNTL, par);





-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Thread (2 messages) 2 messages, 2 authors, last reply 2004-10-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help