Just like the NFS and CIFS root code this better lives with the driver it is tightly integrated with.
Showing the changes to include/linux/raid (1 of 6 files). Show all
Unified · Split
| @@ -1,3 +1,11 @@ | ||
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | 2 | |
| 3 | 3 | 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 | |