* [PATCH] Fixes agp_* struct renaming casualties
@ 2003-05-27 10:35 Herbert Xu
0 siblings, 0 replies; only message in thread
From: Herbert Xu @ 2003-05-27 10:35 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
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
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 1600 bytes --]
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();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-27 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 10:35 [PATCH] Fixes agp_* struct renaming casualties Herbert Xu
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).