summaryrefslogtreecommitdiffstats
path: root/block/partitions/cmdline.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-24 08:25:21 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-24 14:57:08 +0100
commit3f1b95ef81b7dd5e5481347d7b7a7b427b29307a (patch)
tree6ad0712ea40bbbc0647d78fbaab80a81b471e7d0 /block/partitions/cmdline.c
parentblock: remove warn_no_part (diff)
downloadlinux-3f1b95ef81b7dd5e5481347d7b7a7b427b29307a.tar.xz
linux-3f1b95ef81b7dd5e5481347d7b7a7b427b29307a.zip
block: declare all partition detection routines in check.h
There is no good reason to include one header per partition type in core.c. Instead move the prototypes for the detection routins to check.h, and remove all now empty headers in block/partitions/. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/cmdline.c')
-rw-r--r--block/partitions/cmdline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/partitions/cmdline.c b/block/partitions/cmdline.c
index f1edd5452249..8f545c36cde4 100644
--- a/block/partitions/cmdline.c
+++ b/block/partitions/cmdline.c
@@ -18,7 +18,6 @@
#include <linux/cmdline-parser.h>
#include "check.h"
-#include "cmdline.h"
static char *cmdline;
static struct cmdline_parts *bdev_parts;