summaryrefslogtreecommitdiffstats
path: root/include/linux/raid/detect.h
Commit message (Collapse)AuthorAgeFilesLines
* md: move the early init autodetect code to drivers/md/Christoph Hellwig2020-07-161-0/+8
| | | | | | | | | Just like the NFS and CIFS root code this better lives with the driver it is tightly integrated with. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Song Liu <song@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
* block: cleanup how md_autodetect_dev is calledChristoph Hellwig2020-03-241-0/+3
Add a new include/linux/raid/detect.h header to declare the md_autodetect_dev prototype which can be shared between md and the partition code. Then use IS_BUILTIN to call it instead of the ifdef magic. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>