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/hysdn_pof.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/hysdn_pof.h')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_pof.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hysdn/hysdn_pof.h b/drivers/isdn/hysdn/hysdn_pof.h index 6cd81b9b08bc..a368d6caca0e 100644 --- a/drivers/isdn/hysdn/hysdn_pof.h +++ b/drivers/isdn/hysdn/hysdn_pof.h | |||
@@ -47,20 +47,20 @@ | |||
47 | 47 | ||
48 | /*--------------------------------------POF file record structs------------*/ | 48 | /*--------------------------------------POF file record structs------------*/ |
49 | typedef struct PofFileHdr_tag { /* Pof file header */ | 49 | typedef struct PofFileHdr_tag { /* Pof file header */ |
50 | /*00 */ ulong Magic __attribute__((packed)); | 50 | /*00 */ unsigned long Magic __attribute__((packed)); |
51 | /*04 */ ulong N_PofRecs __attribute__((packed)); | 51 | /*04 */ unsigned long N_PofRecs __attribute__((packed)); |
52 | /*08 */ | 52 | /*08 */ |
53 | } tPofFileHdr; | 53 | } tPofFileHdr; |
54 | 54 | ||
55 | typedef struct PofRecHdr_tag { /* Pof record header */ | 55 | typedef struct PofRecHdr_tag { /* Pof record header */ |
56 | /*00 */ word PofRecId __attribute__((packed)); | 56 | /*00 */ unsigned short PofRecId __attribute__((packed)); |
57 | /*02 */ ulong PofRecDataLen __attribute__((packed)); | 57 | /*02 */ unsigned long PofRecDataLen __attribute__((packed)); |
58 | /*06 */ | 58 | /*06 */ |
59 | } tPofRecHdr; | 59 | } tPofRecHdr; |
60 | 60 | ||
61 | typedef struct PofTimeStamp_tag { | 61 | typedef struct PofTimeStamp_tag { |
62 | /*00 */ ulong UnixTime __attribute__((packed)); | 62 | /*00 */ unsigned long UnixTime __attribute__((packed)); |
63 | /*04 */ uchar DateTimeText[0x28] __attribute__((packed)); | 63 | /*04 */ unsigned char DateTimeText[0x28] __attribute__((packed)); |
64 | /* =40 */ | 64 | /* =40 */ |
65 | /*2C */ | 65 | /*2C */ |
66 | } tPofTimeStamp; | 66 | } tPofTimeStamp; |