From b55b3a1423e7083c89b1b7cef9f3fc10cd4379ed Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 1 Oct 2021 19:23:26 -0600 Subject: [PATCH] swim3: add missing major.h include swim3 got this through blkdev.h previously, but blkdev.h is not including it anymore. Include it specifically for the driver, otherwise FLOPPY_MAJOR is undefined and breaks the compile on PPC if swim3 is configured. Fixes: c9f781dfc54d ("block: drop unused includes in ") Reported-by: Naresh Kamboju Acked-by: Randy Dunlap # build-tested Signed-off-by: Jens Axboe --- drivers/block/swim3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index f7e3482e846b9..4b91c9aa58926 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include -- 2.39.5