From: Ahbong Chang <cwahbong@google.com>
Date: Mon, 16 Apr 2018 02:36:25 +0000 (+0800)
Subject: tracing: Add missing forward declaration
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1cdae042fc63dd987f39ffb3258e54fdac8b9852;p=linux.git

tracing: Add missing forward declaration

Without this forward declaration compile may fail if this header is
included only for registering other probe event without struct
pool_workqueue.

Link: http://lkml.kernel.org/r/20180416023626.139915-1-cwahbong@google.com

Reviewed-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Ahbong Chang <cwahbong@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---

diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h
index 2f057a494d931..9a761bc6a251a 100644
--- a/include/trace/events/workqueue.h
+++ b/include/trace/events/workqueue.h
@@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
 	TP_printk("work struct %p", __entry->work)
 );
 
+struct pool_workqueue;
+
 /**
  * workqueue_queue_work - called when a work gets queued
  * @req_cpu:	the requested cpu