History

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.

Christoph Hellwig committed 6 years ago

Commit 4f5b2461 parent 881627f6 files · +25 −13Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/raid/detect.h+8−0
@@ -1,3 +1,11 @@
1/* SPDX-License-Identifier: GPL-2.0 */1/* SPDX-License-Identifier: GPL-2.0 */
2 2
3void md_autodetect_dev(dev_t dev);3void md_autodetect_dev(dev_t dev);
4
5#ifdef CONFIG_BLK_DEV_MD
6void md_run_setup(void);
7#else
8static inline void md_run_setup(void)
9{
10}
11#endif