summaryrefslogtreecommitdiff
path: root/fs/partitions/devfs.h
blob: 176118b4e492dd45b862cbf6504991a3aa5c0e64 (plain)
1
2
3
4
5
6
7
8
9
10
#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