diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-07 17:18:59 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-16 16:34:47 +0300 |
commit | 4f5b246b37e024955c0fcca0c7f5952089052d1d (patch) | |
tree | a005ef9ca23012d565665c176e92f0e6f3047413 /include/linux/raid/detect.h | |
parent | 881627f353754dd05a8f3e1c1941f0dbbf47a170 (diff) | |
download | linux-4f5b246b37e024955c0fcca0c7f5952089052d1d.tar.xz |
md: move the early init autodetect code to drivers/md/
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>
Diffstat (limited to 'include/linux/raid/detect.h')
-rw-r--r-- | include/linux/raid/detect.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/raid/detect.h b/include/linux/raid/detect.h index 37dd3f40cd31..1f029a71c3ef 100644 --- a/include/linux/raid/detect.h +++ b/include/linux/raid/detect.h @@ -1,3 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0 */ void md_autodetect_dev(dev_t dev); + +#ifdef CONFIG_BLK_DEV_MD +void md_run_setup(void); +#else +static inline void md_run_setup(void) +{ +} +#endif |