summaryrefslogtreecommitdiff
path: root/block/partitions/atari.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/partitions/atari.h')
-rw-r--r--block/partitions/atari.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/block/partitions/atari.h b/block/partitions/atari.h
index fe2d32a89f36..678202442fd3 100644
--- a/block/partitions/atari.h
+++ b/block/partitions/atari.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/atari.h
* Moved by Russell King from:
@@ -11,6 +12,8 @@
* by Guenther Kelleter (guenther@pool.informatik.rwth-aachen.de)
*/
+#include <linux/compiler.h>
+
struct partition_info
{
u8 flg; /* bit 0: active; bit 7: bootable */
@@ -29,6 +32,5 @@ struct rootsector
u32 bsl_st; /* start of bad sector list */
u32 bsl_cnt; /* length of bad sector list */
u16 checksum; /* checksum for bootable disks */
-} __attribute__((__packed__));
+} __packed;
-int atari_partition(struct parsed_partitions *state);