]> git.baikalelectronics.ru Git - kernel.git/commit
swim3: add missing major.h include
authorJens Axboe <axboe@kernel.dk>
Sat, 2 Oct 2021 01:23:26 +0000 (19:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:42:44 +0000 (14:42 -0600)
commitb55b3a1423e7083c89b1b7cef9f3fc10cd4379ed
treebcecf116f773a5d6a0c32ce8b5690d6779984b63
parent848c8a2e6ece987ae542356f331fb2911c69f219
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 <linux/genhd.h>")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c