diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-01-26 17:00:56 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-26 17:30:01 (GMT) |
commit | 157f9c00e88529ed84bd7d581a40d411e5414cf0 (patch) | |
tree | 7d7360cd76c5339c831e0e5ffd3cce5a659a9614 /include | |
parent | c71a896154119f4ca9e89d6078f5f63ad60ef199 (diff) | |
download | linux-fsl-qoriq-157f9c00e88529ed84bd7d581a40d411e5414cf0.tar.xz |
tracing/blktrace: fix up checkpatch reported problems in ftrace plugin patch
Also make sure sparse (make C=2 block/blktrace.o) is happy too.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blktrace_api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index 1dba349..59b4b2e 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h @@ -142,6 +142,9 @@ struct blk_user_trace_setup { #ifdef __KERNEL__ #if defined(CONFIG_BLK_DEV_IO_TRACE) + +#include <linux/sysfs.h> + struct blk_trace { int trace_state; struct rchan *rchan; @@ -192,6 +195,8 @@ extern int blk_trace_setup(struct request_queue *q, char *name, dev_t dev, extern int blk_trace_startstop(struct request_queue *q, int start); extern int blk_trace_remove(struct request_queue *q); +extern struct attribute_group blk_trace_attr_group; + #else /* !CONFIG_BLK_DEV_IO_TRACE */ #define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) #define blk_trace_shutdown(q) do { } while (0) |