lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 10 Dec 2019 20:56:34 +0100 From: Arnd Bergmann <arnd@...db.de> To: Richard Cochran <richardcochran@...il.com>, Vincent Cheng <vincent.cheng.xh@...esas.com>, "David S. Miller" <davem@...emloft.net> Cc: Arnd Bergmann <arnd@...db.de>, Yangbo Lu <yangbo.lu@....com>, Antonio Borneo <antonio.borneo@...com>, Thomas Gleixner <tglx@...utronix.de>, YueHaibing <yuehaibing@...wei.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH] ptp: clockmatrix: add I2C dependency Without I2C, we get a link failure: drivers/ptp/ptp_clockmatrix.o: In function `idtcm_xfer.isra.3': ptp_clockmatrix.c:(.text+0xcc): undefined reference to `i2c_transfer' drivers/ptp/ptp_clockmatrix.o: In function `idtcm_driver_init': ptp_clockmatrix.c:(.init.text+0x14): undefined reference to `i2c_register_driver' drivers/ptp/ptp_clockmatrix.o: In function `idtcm_driver_exit': ptp_clockmatrix.c:(.exit.text+0x10): undefined reference to `i2c_del_driver' Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.") Signed-off-by: Arnd Bergmann <arnd@...db.de> --- drivers/ptp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index dc3d8ecb4231..e37797c0a85c 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -107,7 +107,7 @@ config PTP_1588_CLOCK_KVM config PTP_1588_CLOCK_IDTCM tristate "IDT CLOCKMATRIX as PTP clock" - depends on PTP_1588_CLOCK + depends on PTP_1588_CLOCK && I2C default n help This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP -- 2.20.0
Powered by blists - more mailing lists