diff options
Diffstat (limited to 'block/partitions/karma.c')
| -rw-r--r-- | block/partitions/karma.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/block/partitions/karma.c b/block/partitions/karma.c index 0ea19312706b..4d93512f4bd4 100644 --- a/block/partitions/karma.c +++ b/block/partitions/karma.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * fs/partitions/karma.c * Rio Karma partition info. @@ -7,7 +8,9 @@ */ #include "check.h" -#include "karma.h" +#include <linux/compiler.h> + +#define KARMA_LABEL_MAGIC 0xAB56 int karma_partition(struct parsed_partitions *state) { @@ -26,7 +29,7 @@ int karma_partition(struct parsed_partitions *state) } d_partitions[2]; u8 d_blank[208]; __le16 d_magic; - } __attribute__((packed)) *label; + } __packed *label; struct d_partition *p; data = read_part_sector(state, 0, §); |
