phy: enable compile-testing for the Lantiq PHY drivers
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 27 Jul 2019 12:04:14 +0000 (14:04 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 23 Aug 2019 04:10:51 +0000 (09:40 +0530)
Unconditionally include the lantiq subdirectory in the phy Makefile.

All drivers in there have their dependencies maintained. One of these
(optional) dependencies is COMPILE_TEST, however this can only be
evaluated when Kconfig scans the lantiq subdirectory.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/Makefile

index 0d9fddc..c96a1af 100644 (file)
@@ -10,7 +10,6 @@ obj-$(CONFIG_PHY_XGENE)                       += phy-xgene.o
 obj-$(CONFIG_PHY_PISTACHIO_USB)                += phy-pistachio-usb.o
 obj-$(CONFIG_ARCH_SUNXI)               += allwinner/
 obj-$(CONFIG_ARCH_MESON)               += amlogic/
-obj-$(CONFIG_LANTIQ)                   += lantiq/
 obj-$(CONFIG_ARCH_MEDIATEK)            += mediatek/
 obj-$(CONFIG_ARCH_RENESAS)             += renesas/
 obj-$(CONFIG_ARCH_ROCKCHIP)            += rockchip/
@@ -19,6 +18,7 @@ obj-y                                 += broadcom/    \
                                           cadence/     \
                                           freescale/   \
                                           hisilicon/   \
+                                          lantiq/      \
                                           marvell/     \
                                           motorola/    \
                                           mscc/        \