diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/blktrace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 3eb159c277c8..60b5c5a3d4b4 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c | |||
@@ -1657,6 +1657,11 @@ int blk_trace_init_sysfs(struct device *dev) | |||
1657 | return sysfs_create_group(&dev->kobj, &blk_trace_attr_group); | 1657 | return sysfs_create_group(&dev->kobj, &blk_trace_attr_group); |
1658 | } | 1658 | } |
1659 | 1659 | ||
1660 | void blk_trace_remove_sysfs(struct device *dev) | ||
1661 | { | ||
1662 | sysfs_remove_group(&dev->kobj, &blk_trace_attr_group); | ||
1663 | } | ||
1664 | |||
1660 | #endif /* CONFIG_BLK_DEV_IO_TRACE */ | 1665 | #endif /* CONFIG_BLK_DEV_IO_TRACE */ |
1661 | 1666 | ||
1662 | #ifdef CONFIG_EVENT_TRACING | 1667 | #ifdef CONFIG_EVENT_TRACING |