Hi, On Wed 28 Aug 2019 at 12:42, Greg Kroah-Hartman wrote:
On Wed, Aug 28, 2019 at 12:47:26PM +0200, Johan Hovold wrote:
On Wed, Aug 28, 2019 at 11:28:59AM +0100, Rui Miguel Silva wrote:
More headers needed to be fixed when moving greybus out of staging and enabling the COMPILE_TEST option.
Reported-by: kbuild test robot email@example.com Signed-off-by: Rui Miguel Silva firstname.lastname@example.org
include/linux/greybus/operation.h | 1 + include/linux/greybus/svc.h | 2 ++ 2 files changed, 3 insertions(+)
diff --git a/include/linux/greybus/operation.h b/include/linux/greybus/operation.h index 8ca864bba23e..bfbc56d8d863 100644 --- a/include/linux/greybus/operation.h +++ b/include/linux/greybus/operation.h @@ -15,6 +15,7 @@ #include <linux/types.h> #include <linux/workqueue.h>
No need to include hd.h, you only need a forward declaration of struct gb_host_device.
diff --git a/include/linux/greybus/svc.h b/include/linux/greybus/svc.h index 507f8bd4e4c8..11a86504c429 100644 --- a/include/linux/greybus/svc.h +++ b/include/linux/greybus/svc.h @@ -12,6 +12,8 @@ #include <linux/types.h> #include <linux/device.h>
Same here, no need to include all the protocol definitions for struct gb_svc_l2_timer_cfg.
I agree with Johan, just forward declare these things and all should be fine and much simpler.
Agree also, v2 out.
--- Cheers, Rui