From: Andy Shevchenko Date: Wed, 10 Nov 2021 10:31:28 +0000 (+0200) Subject: kobject: Replace kernel.h with the necessary inclusions X-Git-Tag: microblaze-v5.18~115^2~41 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=a6914afcdf0e3fb853fce0e0c04710be7427b62f;p=linux-2.6-microblaze.git kobject: 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. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20211110103128.59888-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/kobject.h b/include/linux/kobject.h index efd56f990a46..c740062b4b1a 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -19,10 +19,10 @@ #include #include #include +#include #include #include #include -#include #include #include #include