]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: greybus: fix more header declarations
authorRui Miguel Silva <rui.silva@linaro.org>
Wed, 28 Aug 2019 12:48:25 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2019 15:24:22 +0000 (17:24 +0200)
More headers needed to be fixed when moving greybus out of staging and
enabling the COMPILE_TEST option.

Add forward declarations for the needed structures.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20190828124825.20800-1-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/greybus/operation.h
include/linux/greybus/svc.h

index 8ca864bba23ead44b86493ddaee9d307ff0b1338..cb8e4ef4522232d85dd688240fbc8fc59a222a25 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/types.h>
 #include <linux/workqueue.h>
 
-
+struct gb_host_device;
 struct gb_operation;
 
 /* The default amount of time a request is given to complete */
index 507f8bd4e4c8102c2785165588f5cdf2325b6d9e..5afaf5f06856249c3be429091023e58a14a905bc 100644 (file)
@@ -12,6 +12,8 @@
 #include <linux/types.h>
 #include <linux/device.h>
 
+struct gb_svc_l2_timer_cfg;
+
 #define GB_SVC_CPORT_FLAG_E2EFC                BIT(0)
 #define GB_SVC_CPORT_FLAG_CSD_N                BIT(1)
 #define GB_SVC_CPORT_FLAG_CSV_N                BIT(2)