diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-25 06:07:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:52 -0500 |
commit | c721bccece2b3abca4f7b0b95108e68b78445cec (patch) | |
tree | f8775f626554bd23c8224ee496a2d94191f9a7e5 /drivers/isdn/hysdn/ince1pc.h | |
parent | 5b7b18ccdeb17dcc4a2ddbf4ce87094c7365f4b9 (diff) |
[PATCH] hysdn: remove custom types
hysdn defines its own types: ulong, uint, uchar and word.
Problem is, the module_param macros rely upon some of those identifiers having
special meanings too. The net effect is that module_param() and friends
cannot be used in ISDN because of this namespace clash.
So remove the hysdn-private defines and open-code them all.
Cc: Karsten Keil <kkeil@suse.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hysdn/ince1pc.h')
-rw-r--r-- | drivers/isdn/hysdn/ince1pc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/hysdn/ince1pc.h b/drivers/isdn/hysdn/ince1pc.h index 4a115a87c782..7a36694df6d7 100644 --- a/drivers/isdn/hysdn/ince1pc.h +++ b/drivers/isdn/hysdn/ince1pc.h | |||
@@ -62,7 +62,7 @@ | |||
62 | * s. RotlCRC algorithm | 62 | * s. RotlCRC algorithm |
63 | * | 63 | * |
64 | * RotlCRC algorithm: | 64 | * RotlCRC algorithm: |
65 | * ucSum= 0 1 uchar | 65 | * ucSum= 0 1 unsigned char |
66 | * for all NonEndTokenChunk bytes: | 66 | * for all NonEndTokenChunk bytes: |
67 | * ROTL(ucSum,1) rotate left by 1 | 67 | * ROTL(ucSum,1) rotate left by 1 |
68 | * ucSum += Char; add current byte with swap around | 68 | * ucSum += Char; add current byte with swap around |
@@ -85,13 +85,13 @@ | |||
85 | 85 | ||
86 | typedef struct ErrLogEntry_tag { | 86 | typedef struct ErrLogEntry_tag { |
87 | 87 | ||
88 | /*00 */ ulong ulErrType; | 88 | /*00 */ unsigned long ulErrType; |
89 | 89 | ||
90 | /*04 */ ulong ulErrSubtype; | 90 | /*04 */ unsigned long ulErrSubtype; |
91 | 91 | ||
92 | /*08 */ uchar ucTextSize; | 92 | /*08 */ unsigned char ucTextSize; |
93 | 93 | ||
94 | /*09 */ uchar ucText[ERRLOG_TEXT_SIZE]; | 94 | /*09 */ unsigned char ucText[ERRLOG_TEXT_SIZE]; |
95 | /* ASCIIZ of len ucTextSize-1 */ | 95 | /* ASCIIZ of len ucTextSize-1 */ |
96 | 96 | ||
97 | /*40 */ | 97 | /*40 */ |
@@ -111,13 +111,13 @@ typedef struct ErrLogEntry_tag { | |||
111 | #define DPRAM_SPOOLER_DATA_SIZE 0x20 | 111 | #define DPRAM_SPOOLER_DATA_SIZE 0x20 |
112 | typedef struct DpramBootSpooler_tag { | 112 | typedef struct DpramBootSpooler_tag { |
113 | 113 | ||
114 | /*00 */ uchar Len; | 114 | /*00 */ unsigned char Len; |
115 | 115 | ||
116 | /*01 */ volatile uchar RdPtr; | 116 | /*01 */ volatile unsigned char RdPtr; |
117 | 117 | ||
118 | /*02 */ uchar WrPtr; | 118 | /*02 */ unsigned char WrPtr; |
119 | 119 | ||
120 | /*03 */ uchar Data[DPRAM_SPOOLER_DATA_SIZE]; | 120 | /*03 */ unsigned char Data[DPRAM_SPOOLER_DATA_SIZE]; |
121 | 121 | ||
122 | /*23 */ | 122 | /*23 */ |
123 | } tDpramBootSpooler; | 123 | } tDpramBootSpooler; |