From 74769abfcb430b839914f3fe91e23a4f628d9553 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 24 Mar 2006 03:18:24 -0800 Subject: [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/rio/typdef.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'drivers/char/rio/typdef.h') 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; /* -- cgit v1.2.3-55-g7522