Skip to content
Commit 1f0a258f authored by Jens Axboe's avatar Jens Axboe
Browse files

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: b81e0c23 ("block: drop unused includes in <linux/genhd.h>")
Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5deae20c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment