linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 9/15] fbdev: Add __iomem annotations to cyber2000fb
@ 2004-10-29  1:58 Antonino A. Daplas
  0 siblings, 0 replies; only message in thread
From: Antonino A. Daplas @ 2004-10-29  1:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Fbdev development list, Russell King

Add __iomem annotations to cyber2000fb

Signed-off-by: Antonino Daplas <adaplas@pol.net>
---
 cyber2000fb.c |    4 ++--
 cyber2000fb.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -Nru a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c
--- a/drivers/video/cyber2000fb.c	2004-10-27 14:58:07 +08:00
+++ b/drivers/video/cyber2000fb.c	2004-10-28 22:57:58 +08:00
@@ -66,8 +66,8 @@
 	struct display_switch	*dispsw;
 	struct display		*display;
 	struct pci_dev		*dev;
-	unsigned char 		*region;
-	unsigned char		*regs;
+	unsigned char 		__iomem *region;
+	unsigned char		__iomem *regs;
 	u_int			id;
 	int			func_use_count;
 	u_long			ref_ps;
diff -Nru a/drivers/video/cyber2000fb.h b/drivers/video/cyber2000fb.h
--- a/drivers/video/cyber2000fb.h	2004-10-19 20:21:33 +08:00
+++ b/drivers/video/cyber2000fb.h	2004-10-28 22:57:58 +08:00
@@ -466,8 +466,8 @@
 
 struct cyberpro_info {
 	struct pci_dev	*dev;
-	unsigned char	*regs;
-	char		*fb;
+	unsigned char	__iomem *regs;
+	char		__iomem *fb;
 	char		dev_name[32];
 	unsigned int	fb_size;
 	unsigned int	chip_id;




-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-29  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29  1:58 [PATCH 9/15] fbdev: Add __iomem annotations to cyber2000fb Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).