diff options
author | Alan Cox | 2006-03-24 12:18:24 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-03-24 16:33:28 +0100 |
commit | 74769abfcb430b839914f3fe91e23a4f628d9553 (patch) | |
tree | af7443e43f236d4d9e6c87ef777989989f1079ec /drivers/char/rio/typdef.h | |
parent | [PATCH] Fix "value computed not used" warnings (diff) | |
download | kernel-qcow2-linux-74769abfcb430b839914f3fe91e23a4f628d9553.tar.gz kernel-qcow2-linux-74769abfcb430b839914f3fe91e23a4f628d9553.tar.xz kernel-qcow2-linux-74769abfcb430b839914f3fe91e23a4f628d9553.zip |
[PATCH] rio: more header cleanup
Strip some of the typedef mess out Remove a small subset of unused defines
and the like.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/typdef.h')
-rw-r--r-- | drivers/char/rio/typdef.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/char/rio/typdef.h b/drivers/char/rio/typdef.h index 185b889e1510..840c2498a59d 100644 --- a/drivers/char/rio/typdef.h +++ b/drivers/char/rio/typdef.h @@ -33,23 +33,16 @@ #ifndef __rio_typdef_h__ #define __rio_typdef_h__ -#ifdef SCCS_LABELS -static char *_typdef_h_sccs_ = "@(#)typdef.h 1.2"; -#endif - -#undef VPIX - /* ** IT IS REALLY, REALLY, IMPORTANT THAT BYTES ARE UNSIGNED! ** ** These types are ONLY to be used for refering to data structures ** on the RIO Host card! */ -typedef volatile unsigned char BYTE; -typedef volatile unsigned short WORD; -typedef volatile unsigned int DWORD; -typedef volatile unsigned short RIOP; -typedef volatile short NUMBER; +typedef volatile u8 BYTE; +typedef volatile u16 WORD; +typedef volatile u32 DWORD; +typedef volatile u16 RIOP; /* |