aboutsummaryrefslogtreecommitdiff
path: root/fs/partitions/devfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/devfs.h')
-rw-r--r--fs/partitions/devfs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/partitions/devfs.h b/fs/partitions/devfs.h
new file mode 100644
index 00000000000..176118b4e49
--- /dev/null
+++ b/fs/partitions/devfs.h
@@ -0,0 +1,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