2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/sh/boards
Geert Uytterhoeven 909f3c55d8 sh: boards: Use imply to enable hardware with complex dependencies
If CONFIG_I2C=n:

    WARNING: unmet direct dependencies detected for SND_SOC_AK4642
      Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && I2C [=n]
      Selected by [y]:
      - SH_7724_SOLUTION_ENGINE [=y] && CPU_SUBTYPE_SH7724 [=y] && SND_SIMPLE_CARD [=y]

    WARNING: unmet direct dependencies detected for SND_SOC_DA7210
      Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && SND_SOC_I2C_AND_SPI [=n]
      Selected by [y]:
      - SH_ECOVEC [=y] && CPU_SUBTYPE_SH7724 [=y] && SND_SIMPLE_CARD [=y]

Fix this by replacing select by imply, instead of adding a dependency on
I2C.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501240836.OvXqmANX-lkp@intel.com/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2025-02-01 10:44:06 +01:00
..
mach-ap325rxa mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
mach-dreamcast sh: dreamcast: Fix GAPS PCI bridge addressing 2024-05-13 09:13:26 +02:00
mach-ecovec24 mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
mach-highlander sh: mach-highlander: Add missing #include <mach/highlander.h> 2024-05-02 12:01:31 +02:00
mach-hp6xx sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-kfr2r09 mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
mach-landisk sh: boards: Fix the cacography in irq.c 2021-09-17 14:00:01 -04:00
mach-lboxre2 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-migor mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
mach-r2d sh: mach-r2d: Handle virq offset in cascaded IRL demux 2023-07-13 08:37:26 +02:00
mach-rsk sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7780 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7786 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
mach-se mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
mach-sh03 sh: mach-sh03: Make sh03_rtc_settimeofday() static 2024-05-02 12:01:31 +02:00
mach-sh7763rdp sh: mach-sh7763rdp: Assign FB_MODE_IS_UNKNOWN to struct fb_videomode.flag 2023-07-24 16:50:38 +02:00
mach-x3proto sh: mach-x3proto: Add missing #include <linux/gpio/driver.h> 2023-03-23 16:22:18 +02:00
board-apsh4a3a.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-apsh4ad0a.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-edosk7705.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-edosk7760.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-espt.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-magicpanelr2.c gpiolib: remove empty asm/gpio.h files 2023-03-06 12:33:01 +02:00
board-polaris.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-secureedge5410.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh2007.c sh: sh2007: Modernize printing of kernel messages 2020-08-14 22:05:10 -04:00
board-sh7757lcr.c mfd: tmio: Move header to platform_data 2024-07-09 10:40:29 +01:00
board-sh7785lcr.c sh: sh7785lcr: Make init_sh7785lcr_IRQ() static 2024-05-02 12:01:32 +02:00
board-shmin.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-titan.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-urquell.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
Kconfig sh: boards: Use imply to enable hardware with complex dependencies 2025-02-01 10:44:06 +01:00
Makefile sh: Remove stale microdev board 2023-10-25 16:48:06 +02:00
of-generic.c sh: of-generic: Add missing #include <asm/clock.h> 2024-05-13 15:37:11 +02:00