mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
The driver uses devm_ioremap_resource() which will not be built if CONFIG_HAS_IOMEM is not selected, so add depends on it to fix the build failure on few archs s390-linux-ld: drivers/phy/ingenic/phy-ingenic-usb.o: in function `ingenic_usb_phy_probe': >> phy-ingenic-usb.c:(.text+0xb66): undefined reference to `devm_platform_ioremap_resource' Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Phy drivers for Ingenic platforms
|
|
#
|
|
config PHY_INGENIC_USB
|
|
tristate "Ingenic SoCs USB PHY Driver"
|
|
depends on MIPS || COMPILE_TEST
|
|
depends on USB_SUPPORT
|
|
depends on HAS_IOMEM
|
|
select GENERIC_PHY
|
|
help
|
|
This driver provides USB PHY support for the USB controller found
|
|
on the JZ-series and X-series SoCs from Ingenic.
|