aboutsummaryrefslogtreecommitdiff
path: root/block/partitions/karma.c
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2020-03-24 08:25:22 +0100
committerGravatar Jens Axboe <axboe@kernel.dk> 2020-03-24 07:57:08 -0600
commitf6d17358dc7eb2259115c0017a1ff9958a59eb2b (patch)
treeb0a342a3307f3a9b4d867e43fab672b49bd957a6 /block/partitions/karma.c
parentblock: declare all partition detection routines in check.h (diff)
downloadlinux-f6d17358dc7eb2259115c0017a1ff9958a59eb2b.tar.gz
linux-f6d17358dc7eb2259115c0017a1ff9958a59eb2b.tar.bz2
linux-f6d17358dc7eb2259115c0017a1ff9958a59eb2b.zip
block: remove block/partitions/karma.h
Just move the single define to block/partitions/karma.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/karma.c')
-rw-r--r--block/partitions/karma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block/partitions/karma.c b/block/partitions/karma.c
index 59812d705c3d..4d93512f4bd4 100644
--- a/block/partitions/karma.c
+++ b/block/partitions/karma.c
@@ -8,9 +8,10 @@
*/
#include "check.h"
-#include "karma.h"
#include <linux/compiler.h>
+#define KARMA_LABEL_MAGIC 0xAB56
+
int karma_partition(struct parsed_partitions *state)
{
int i;