use PACKED macro insted of open-coding GCC-ism

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-09-16 00:58:11 +02:00
parent f2c184be83
commit 8dc0e1929e
31 changed files with 70 additions and 70 deletions

View File

@@ -23,11 +23,11 @@
struct hpt37x_meta {
uint8_t filler1[32];
uint32_t magic;
} __attribute__((packed));
} PACKED;
struct hpt45x_meta {
uint32_t magic;
} __attribute__((packed));
} PACKED;
#define HPT37X_CONFIG_OFF 0x1200
#define HPT37X_MAGIC_OK 0x5a7816f0