Re: [PATCH] ptp: clockmatrix: add I2C dependency
From: Jakub Kicinski
Date: Fri Dec 13 2019 - 18:44:40 EST
On Tue, 10 Dec 2019 20:56:34 +0100, Arnd Bergmann wrote:
> 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@xxxxxxxx>
Applied to net, thank you!