]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware/nvram: bcm47xx: Don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jun 2025 17:59:26 +0000 (20:59 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 2 Jul 2025 11:09:54 +0000 (13:09 +0200)
Update header inclusions to follow IWYU (Include What You Use)
principle.

Note that kernel.h is discouraged to be included as it's written
at the top of that file.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
include/linux/bcm47xx_nvram.h
include/linux/bcm47xx_sprom.h

index 7615f8d7b1edc86b98da0c87f6844728799d2388..e4b6ce953ddba657e3d373bfd13ba15c8eff3b4c 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <linux/errno.h>
 #include <linux/types.h>
-#include <linux/kernel.h>
 #include <linux/vmalloc.h>
 
 #ifdef CONFIG_BCM47XX_NVRAM
index f8254fd53e15f826c31648825bbbf23d2f560f26..40a7da3ef50e61504de22e1241152c5158f1cad6 100644 (file)
@@ -5,8 +5,8 @@
 #ifndef __BCM47XX_SPROM_H
 #define __BCM47XX_SPROM_H
 
+#include <linux/errno.h>
 #include <linux/types.h>
-#include <linux/kernel.h>
 #include <linux/vmalloc.h>
 
 struct ssb_sprom;