Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: greybus: fix more header declarations

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>

authored by

Rui Miguel Silva and committed by
Greg Kroah-Hartman
e003f9af c10bf392

+3 -1
+1 -1
include/linux/greybus/operation.h
··· 15 15 #include <linux/types.h> 16 16 #include <linux/workqueue.h> 17 17 18 - 18 + struct gb_host_device; 19 19 struct gb_operation; 20 20 21 21 /* The default amount of time a request is given to complete */
+2
include/linux/greybus/svc.h
··· 12 12 #include <linux/types.h> 13 13 #include <linux/device.h> 14 14 15 + struct gb_svc_l2_timer_cfg; 16 + 15 17 #define GB_SVC_CPORT_FLAG_E2EFC BIT(0) 16 18 #define GB_SVC_CPORT_FLAG_CSD_N BIT(1) 17 19 #define GB_SVC_CPORT_FLAG_CSV_N BIT(2)