mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08: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
|