diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-03-24 03:18:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 07:33:28 -0800 |
commit | 74769abfcb430b839914f3fe91e23a4f628d9553 (patch) | |
tree | af7443e43f236d4d9e6c87ef777989989f1079ec /drivers/char/rio/riotypes.h | |
parent | 10e705f83c3e796893a70fb872895ba604901166 (diff) |
[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/riotypes.h')
-rw-r--r-- | drivers/char/rio/riotypes.h | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/drivers/char/rio/riotypes.h b/drivers/char/rio/riotypes.h index 46084d5c7e9..d07bd0aab5a 100644 --- a/drivers/char/rio/riotypes.h +++ b/drivers/char/rio/riotypes.h @@ -43,25 +43,21 @@ #endif #endif -typedef unsigned short NUMBER_ptr; -typedef unsigned short WORD_ptr; -typedef unsigned short BYTE_ptr; -typedef unsigned short char_ptr; -typedef unsigned short Channel_ptr; -typedef unsigned short FREE_LIST_ptr_ptr; -typedef unsigned short FREE_LIST_ptr; -typedef unsigned short LPB_ptr; -typedef unsigned short Process_ptr; -typedef unsigned short PHB_ptr; -typedef unsigned short PKT_ptr; -typedef unsigned short PKT_ptr_ptr; -typedef unsigned short Q_BUF_ptr; -typedef unsigned short Q_BUF_ptr_ptr; -typedef unsigned short ROUTE_STR_ptr; -typedef unsigned short RUP_ptr; -typedef unsigned short short_ptr; -typedef unsigned short u_short_ptr; -typedef unsigned short ushort_ptr; +typedef u16 char_ptr; +typedef u16 Channel_ptr; +typedef u16 FREE_LIST_ptr_ptr; +typedef u16 FREE_LIST_ptr; +typedef u16 LPB_ptr; +typedef u16 Process_ptr; +typedef u16 PHB_ptr; +typedef u16 PKT_ptr; +typedef u16 Q_BUF_ptr; +typedef u16 Q_BUF_ptr_ptr; +typedef u16 ROUTE_STR_ptr; +typedef u16 RUP_ptr; +typedef u16 short_ptr; +typedef u16 u_short_ptr; +typedef u16 ushort_ptr; #endif /* __riotypes__ */ |