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>
This commit is contained in:
parent
881627f353
commit
4f5b246b37
6 changed files with 25 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue