Fixes agp_* struct renaming casualties
diff mbox series

Message ID 20030527103505.GA23493@gondor.apana.org.au
State New, archived
Headers show
Series
  • Fixes agp_* struct renaming casualties
Related show

Commit Message

Herbert Xu May 27, 2003, 10:35 a.m. UTC
The following patch fixes some remaining references to agp_* structures
without struct.

Patch
diff mbox series

Index: drivers/video/i810/i810.h
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/video/i810/i810.h,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 i810.h
--- drivers/video/i810/i810.h	4 May 2003 23:53:41 -0000	1.1.1.4
+++ drivers/video/i810/i810.h	27 May 2003 10:29:33 -0000
@@ -203,8 +203,8 @@ 
 #define LOCKUP                      8
 
 struct gtt_data {
-	agp_memory *i810_fb_memory;
-	agp_memory *i810_cursor_memory;
+	struct agp_memory *i810_fb_memory;
+	struct agp_memory *i810_cursor_memory;
 };
 
 struct mode_registers {
Index: drivers/video/sis/sis_main.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/video/sis/sis_main.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 sis_main.c
--- drivers/video/sis/sis_main.c	4 May 2003 23:53:35 -0000	1.1.1.4
+++ drivers/video/sis/sis_main.c	27 May 2003 10:30:47 -0000
@@ -2868,8 +2868,8 @@ 
 	unsigned long *write_port = 0;
 	SIS_CMDTYPE    cmd_type;
 #ifndef AGPOFF
-	agp_kern_info  *agp_info;
-	agp_memory     *agp;
+	struct agp_kern_info  *agp_info;
+	struct agp_memory     *agp;
 	u32            agp_phys;
 #endif
 #endif
@@ -2946,8 +2946,8 @@ 
 
 #ifndef AGPOFF
 	if (sisfb_queuemode == AGP_CMD_QUEUE) {
-		agp_info = vmalloc(sizeof(agp_kern_info));
-		memset((void*)agp_info, 0x00, sizeof(agp_kern_info));
+		agp_info = vmalloc(sizeof(*agp_info));
+		memset((void*)agp_info, 0x00, sizeof(*agp_info));
 		agp_copy_info(agp_info);
 
 		agp_backend_acquire();