Logo
Explore Help
Sign In
armbian/linux-cix
0
0
Fork 0
You've already forked linux-cix
mirror of https://github.com/armbian/linux-cix.git synced 2026-01-06 12:30:45 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
aa40d5a43526cca9439a2b45fcfdcd016594dece
linux-cix/include/linux/raid/detect.h

12 lines
181 B
C
Raw Normal View History

block: cleanup how md_autodetect_dev is called Add a new include/linux/raid/detect.h header to declare the md_autodetect_dev prototype which can be shared between md and the partition code. Then use IS_BUILTIN to call it instead of the ifdef magic. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-03-24 08:25:19 +01:00
/* SPDX-License-Identifier: GPL-2.0 */
void md_autodetect_dev(dev_t dev);
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>
2020-06-07 16:18:59 +02:00
#ifdef CONFIG_BLK_DEV_MD
void md_run_setup(void);
#else
static inline void md_run_setup(void)
{
}
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Page: 942ms Template: 4ms
English
English
Licenses API