include/linux/delay.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. [akpm@linux-foundation.org: cxd2880_common.h needs bits.h for GENMASK()] [andriy.shevchenko@linux.intel.com: delay.h: fix for removed kernel.h] Link: https://lkml.kernel.org/r/20211028170143.56523-1-andriy.shevchenko@linux.intel.com [akpm@linux-foundation.org: include/linux/fwnode.h needs bits.h for BIT()] Link: https://lkml.kernel.org/r/20211027150324.79827-1-andriy.shevchenko@linux.intel.com Signed-off-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/riscv/lib/delay.c 4 additions, 0 deletionsarch/riscv/lib/delay.c
- arch/s390/include/asm/facility.h 4 additions, 0 deletionsarch/s390/include/asm/facility.h
- drivers/media/dvb-frontends/cxd2880/cxd2880_common.h 1 addition, 0 deletionsdrivers/media/dvb-frontends/cxd2880/cxd2880_common.h
- include/linux/delay.h 1 addition, 1 deletioninclude/linux/delay.h
- include/linux/fwnode.h 1 addition, 0 deletionsinclude/linux/fwnode.h
Please register or sign in to comment