[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220623233141.31251-1-vfedorenko@novek.ru>
Date: Fri, 24 Jun 2022 02:31:41 +0300
From: Vadim Fedorenko <vfedorenko@...ek.ru>
To: Jakub Kicinski <kuba@...nel.org>,
Jonathan Lemon <jonathan.lemon@...il.com>
Cc: Vadim Fedorenko <vfedorenko@...ek.ru>, netdev@...r.kernel.org
Subject: [PATCH net] ptp: ocp: add EEPROM_AT24 dependency
Various information which is provided via devlink is stored in
EEPROM and is not accessible unless at24 eeprom is supported.
Fixes: 773bda964921 ("ptp: ocp: Expose various resources on the timecard.")
Signed-off-by: Vadim Fedorenko <vfedorenko@...ek.ru>
---
drivers/ptp/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 458218f88c5e..c86be47e69ed 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -171,7 +171,7 @@ config PTP_1588_CLOCK_OCP
tristate "OpenCompute TimeCard as PTP clock"
depends on PTP_1588_CLOCK
depends on HAS_IOMEM && PCI
- depends on I2C && MTD
+ depends on I2C && EEPROM_AT24 && MTD
depends on SERIAL_8250
depends on !S390
depends on COMMON_CLK
--
2.27.0
Powered by blists - more mailing lists