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

firmware/nvram: bcm47xx: Don't use "proxy" headers

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>

authored by

Andy Shevchenko and committed by
Thomas Bogendoerfer
002d9062 86731a2a

+1 -2
-1
include/linux/bcm47xx_nvram.h
··· 7 7 8 8 #include <linux/errno.h> 9 9 #include <linux/types.h> 10 - #include <linux/kernel.h> 11 10 #include <linux/vmalloc.h> 12 11 13 12 #ifdef CONFIG_BCM47XX_NVRAM
+1 -1
include/linux/bcm47xx_sprom.h
··· 5 5 #ifndef __BCM47XX_SPROM_H 6 6 #define __BCM47XX_SPROM_H 7 7 8 + #include <linux/errno.h> 8 9 #include <linux/types.h> 9 - #include <linux/kernel.h> 10 10 #include <linux/vmalloc.h> 11 11 12 12 struct ssb_sprom;