Commit bc8e05d6 authored by Jonathan Lemon's avatar Jonathan Lemon Committed by David S. Miller

ptp: ocp: Simplify Kconfig.

Remove the 'imply' statements, these apparently are not doing
what I expected.  Platform modules which are used by the driver
still need to be enabled in the overall config for them to be
used, but there isn't a hard dependency on them.

Use 'depend' for selectable modules which provide functions
used directly by the driver.
Signed-off-by: default avatarJonathan Lemon <jonathan.lemon@gmail.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b33433e
...@@ -171,16 +171,10 @@ config PTP_1588_CLOCK_OCP ...@@ -171,16 +171,10 @@ config PTP_1588_CLOCK_OCP
tristate "OpenCompute TimeCard as PTP clock" tristate "OpenCompute TimeCard as PTP clock"
depends on PTP_1588_CLOCK depends on PTP_1588_CLOCK
depends on HAS_IOMEM && PCI depends on HAS_IOMEM && PCI
depends on SPI && I2C && MTD depends on I2C && MTD
depends on SERIAL_8250
depends on !S390 depends on !S390
imply SPI_MEM
imply SPI_XILINX
imply MTD_SPI_NOR
imply I2C_XILINX
select SERIAL_8250
select NET_DEVLINK select NET_DEVLINK
default n
help help
This driver adds support for an OpenCompute time card. This driver adds support for an OpenCompute time card.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment