[PATCH] Fixes agp_* struct renaming casualties

Herbert Xu (herbert@gondor.apana.org.au)
Tue, 27 May 2003 20:35:05 +1000


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-2208-1054031964-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The following patch fixes some remaining references to agp_* structures
without struct.

-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

--=_courier-2208-1054031964-0001-2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=p

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();

--=_courier-2208-1054031964-0001-2--