aboutsummaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/genhd.c b/block/genhd.c
index e8c42bfd12be..68a5f28007e4 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -544,6 +544,7 @@ static struct device_type disk_type = {
544 .release = disk_release, 544 .release = disk_release,
545}; 545};
546 546
547#ifdef CONFIG_PROC_FS
547/* 548/*
548 * aggregate disk stat collector. Uses the same stats that the sysfs 549 * aggregate disk stat collector. Uses the same stats that the sysfs
549 * entries do, above, but makes them available through one seq_file. 550 * entries do, above, but makes them available through one seq_file.
@@ -653,6 +654,7 @@ const struct seq_operations diskstats_op = {
653 .stop = diskstats_stop, 654 .stop = diskstats_stop,
654 .show = diskstats_show 655 .show = diskstats_show
655}; 656};
657#endif /* CONFIG_PROC_FS */
656 658
657static void media_change_notify_thread(struct work_struct *work) 659static void media_change_notify_thread(struct work_struct *work)
658{ 660{