]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ptp_pch: Restore dependency on PCI
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Aug 2021 17:33:27 +0000 (20:33 +0300)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:36:46 +0000 (08:36 -0400)
[ Upstream commit 55c8fca1dae1fb0d11deaa21b65a647dedb1bc50 ]

During the swap dependency on PCH_GBE to selection PTP_1588_CLOCK_PCH
incidentally dropped the implicit dependency on the PCI. Restore it.

Fixes: 18d359ceb044 ("pch_gbe, ptp_pch: Fix the dependency direction between these drivers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ptp/Kconfig

index d137c480db46b58df2660a740377e4c4e3437709..dd04aedd76e0b6956459459fb76af5e0f92bc667 100644 (file)
@@ -91,7 +91,8 @@ config DP83640_PHY
 config PTP_1588_CLOCK_PCH
        tristate "Intel PCH EG20T as PTP clock"
        depends on X86_32 || COMPILE_TEST
-       depends on HAS_IOMEM && NET
+       depends on HAS_IOMEM && PCI
+       depends on NET
        imply PTP_1588_CLOCK
        help
          This driver adds support for using the PCH EG20T as a PTP