From: Andy Shevchenko Date: Tue, 9 Nov 2021 02:32:15 +0000 (-0800) Subject: include/kunit/test.h: replace kernel.h with the necessary inclusions X-Git-Tag: v6.1-rc5~2692^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec54c2892064c9975d8be8ef8ee5957cb762f9f6;p=platform%2Fkernel%2Flinux-starfive.git include/kunit/test.h: replace kernel.h with the necessary inclusions When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Link: https://lkml.kernel.org/r/20211013170417.87909-4-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko Cc: Boqun Feng Cc: Brendan Higgins Cc: Ingo Molnar Cc: Jonathan Cameron Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Miguel Ojeda Cc: Peter Zijlstra Cc: Rasmus Villemoes Cc: Sakari Ailus Cc: Thomas Gleixner Cc: Thorsten Leemhuis Cc: Waiman Long Cc: Will Deacon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/kunit/test.h b/include/kunit/test.h index 018e776..b2640073 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -11,11 +11,20 @@ #include #include -#include + +#include +#include +#include +#include +#include +#include #include #include +#include +#include #include -#include + +#include struct kunit_resource;