aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ptp
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-08-13 13:30:26 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-16 11:13:29 +0100
commit944f510176ebdf6b3a71f7cefea334bd3d203de2 (patch)
treeb275bbd93b31e62bf0f2a5a3c56396277cf89859 /drivers/ptp
parent19eed721079336d515dd2d8fe1f0f4c292b78c70 (diff)
downloadlinux-944f510176ebdf6b3a71f7cefea334bd3d203de2.tar.gz
ptp: ocp: don't allow on S390
Fix kconfig warning on arch/s390/: WARNING: unmet direct dependencies detected for SERIAL_8250 Depends on [n]: TTY [=y] && HAS_IOMEM [=y] && !S390 [=y] Selected by [m]: - PTP_1588_CLOCK_OCP [=m] && PTP_1588_CLOCK [=m] && HAS_IOMEM [=y] && PCI [=y] && SPI [=y] && I2C [=m] && MTD [=m] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
-rw-r--r--drivers/ptp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index e82b4a678acbc..823eae1b4b535 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -171,6 +171,7 @@ config PTP_1588_CLOCK_OCP
depends on PTP_1588_CLOCK
depends on HAS_IOMEM && PCI
depends on SPI && I2C && MTD
+ depends on !S390
imply SPI_MEM
imply SPI_XILINX
imply MTD_SPI_NOR