]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:11:06 +0000 (11:11 +0100)
During the swap dependency on PCH_GBE to selection PTP_1588_CLOCK_PCH
incidentally dropped the implicit dependency on the PCI. Restore it.

Fixes: e7d64a175ff4 ("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>
drivers/ptp/Kconfig

index 8c20e524e9ad4d7dfdb0e977c76a66b5264c844e..e085c255da0c1a0eaaea3f197087194966971ec4 100644 (file)
@@ -90,7 +90,8 @@ config PTP_1588_CLOCK_INES
 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