diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2006-12-08 05:39:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:00 -0500 |
commit | 1f8ec435e3516eb831bb98110cc2b2b28057154b (patch) | |
tree | ddcca323b7c0c42d815bd63ebead2b753a94422b /include | |
parent | a3f8d9d5e1e00e5953d7727f0b8426224af2ca15 (diff) |
[PATCH] Char: istallion, eliminate typedefs
Use only struct <name> instead of defining a new type <name_t>.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/istallion.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/istallion.h b/include/linux/istallion.h index b55e2a035605..af2c32d16d45 100644 --- a/include/linux/istallion.h +++ b/include/linux/istallion.h | |||
@@ -49,7 +49,7 @@ | |||
49 | * communication with the slave board will always be on a per port | 49 | * communication with the slave board will always be on a per port |
50 | * basis. | 50 | * basis. |
51 | */ | 51 | */ |
52 | typedef struct { | 52 | struct stliport { |
53 | unsigned long magic; | 53 | unsigned long magic; |
54 | int portnr; | 54 | int portnr; |
55 | int panelnr; | 55 | int panelnr; |
@@ -72,7 +72,7 @@ typedef struct { | |||
72 | wait_queue_head_t close_wait; | 72 | wait_queue_head_t close_wait; |
73 | wait_queue_head_t raw_wait; | 73 | wait_queue_head_t raw_wait; |
74 | struct work_struct tqhangup; | 74 | struct work_struct tqhangup; |
75 | asysigs_t asig; | 75 | struct asysigs asig; |
76 | unsigned long addr; | 76 | unsigned long addr; |
77 | unsigned long rxoffset; | 77 | unsigned long rxoffset; |
78 | unsigned long txoffset; | 78 | unsigned long txoffset; |
@@ -83,13 +83,13 @@ typedef struct { | |||
83 | unsigned char reqbit; | 83 | unsigned char reqbit; |
84 | unsigned char portidx; | 84 | unsigned char portidx; |
85 | unsigned char portbit; | 85 | unsigned char portbit; |
86 | } stliport_t; | 86 | }; |
87 | 87 | ||
88 | /* | 88 | /* |
89 | * Use a structure of function pointers to do board level operations. | 89 | * Use a structure of function pointers to do board level operations. |
90 | * These include, enable/disable, paging shared memory, interrupting, etc. | 90 | * These include, enable/disable, paging shared memory, interrupting, etc. |
91 | */ | 91 | */ |
92 | typedef struct stlibrd { | 92 | struct stlibrd { |
93 | unsigned long magic; | 93 | unsigned long magic; |
94 | int brdnr; | 94 | int brdnr; |
95 | int brdtype; | 95 | int brdtype; |
@@ -116,8 +116,8 @@ typedef struct stlibrd { | |||
116 | void __iomem *(*getmemptr)(struct stlibrd *brdp, unsigned long offset, int line); | 116 | void __iomem *(*getmemptr)(struct stlibrd *brdp, unsigned long offset, int line); |
117 | void (*intr)(struct stlibrd *brdp); | 117 | void (*intr)(struct stlibrd *brdp); |
118 | void (*reset)(struct stlibrd *brdp); | 118 | void (*reset)(struct stlibrd *brdp); |
119 | stliport_t *ports[STL_MAXPORTS]; | 119 | struct stliport *ports[STL_MAXPORTS]; |
120 | } stlibrd_t; | 120 | }; |
121 | 121 | ||
122 | 122 | ||
123 | /* | 123 | /* |