mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 09:20:17 +00:00
11 lines
328 B
C
11 lines
328 B
C
|
|
||
|
#ifdef CONFIG_DEVFS_FS
|
||
|
void devfs_add_disk(struct gendisk *dev);
|
||
|
void devfs_add_partitioned(struct gendisk *dev);
|
||
|
void devfs_remove_disk(struct gendisk *dev);
|
||
|
#else
|
||
|
# define devfs_add_disk(disk) do { } while (0)
|
||
|
# define devfs_add_partitioned(disk) do { } while (0)
|
||
|
# define devfs_remove_disk(disk) do { } while (0)
|
||
|
#endif
|