Remove custom defines for standard types.
PATCH 1/11 Remove custom defines for standard types.
Remove custom defines for standard types (u8, u16, u32...)
Signed-off-by Ondrej Zary <[email protected]>
--- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h | 13 -- drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c | 132 ++++++++++---------- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 52 ++++---- 3 files changed, 92 insertions(+), 105 deletions(-)
drivers/staging/ft1000/ft1000-pcmcia/ft1000.h +0 -13
@@ -67,17 +67,6 @@ struct pseudo_hdrunsigned short checksum;// pseudo header checksum } __attribute__ ((packed)); -// Definitions to maintain compatibility between other platforms -#define UCHAR u8 -#define USHORT u16 -#define ULONG u32 -#define BOOLEAN u8 -#define PULONG u32 * -#define PUSHORT u16 * -#define PUCHAR u8 * -#define PCHAR u8 * -#define UINT u32 -#define ELECTRABUZZ_ID 0 // ASIC ID for Electrabuzz#define MAGNEMITE_ID 0x1a01 // ASIC ID for Magnemite
@@ -278,8 +267,6 @@ struct pseudo_hdr#define SUCCESS 0x00#define FAILURE 0x01 -#define TRUE 0x1 -#define FALSE 0x0#define MAXIMUM_ASIC_HB_CNT 15
drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c +66 -66
346 lines not on this page · raw message
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +26 -26
186 lines not on this page · raw message
Signature · 1 line
Ondrej Zary