]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: allwinner: allow compile testing
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Mar 2019 20:23:56 +0000 (21:23 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 06:36:02 +0000 (12:06 +0530)
commite03213b9a6eab6456de174afa071af4381e4f2d5
tree7a4fa59e969e028384b079e69d2eb5ddca9d7a65
parente0c546fa72a9b66deb80a2623ffc8b5237840e1b
phy: allwinner: allow compile testing

Some allwinner specific drivers can be built for testing purposes
on non-sunxi configurations, which then results in a harmless
warning:

WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY
  Depends on [n]: ARCH_SUNXI [=n] && HAS_IOMEM [=y] && OF [=y] && RESET_CONTROLLER [=y]
  Selected by [y]:
  - DRM_SUN6I_DSI [=y] && HAS_IOMEM [=y] && DRM_SUN4I [=y]

Allow compile-test here as well to avoid the warning, and improve
overall build coverage.

Fixes: 5d134abf9530 ("phy: Move Allwinner A31 D-PHY driver to drivers/phy/")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/allwinner/Kconfig