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/raid (1 of 6 files). Show all

Unified · Split

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