aboutsummaryrefslogtreecommitdiff
path: root/include/linux/raid/detect.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16md: move the early init autodetect code to drivers/md/Christoph Hellwig1-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 <[email protected]> Acked-by: Song Liu <[email protected]> Acked-by: Linus Torvalds <[email protected]>
2020-03-24block: cleanup how md_autodetect_dev is calledChristoph Hellwig1-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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>