]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
net: emacps: Add missing dependency for PTP
authorMichal Simek <michal.simek@xilinx.com>
Thu, 18 Sep 2014 05:27:41 +0000 (07:27 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 18 Sep 2014 05:28:09 +0000 (07:28 +0200)
Error log:
  drivers/built-in.o: In function `xemacps_init_hw':
  :(.text+0xf8720): undefined reference to `ptp_clock_register'
  :(.text+0xf873c): undefined reference to `ptp_clock_index'
  drivers/built-in.o: In function `xemacps_close':
  :(.text+0xf8e78): undefined reference to `ptp_clock_unregister'
  make: *** [vmlinux] Error 1

Reported-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/Kconfig

index aacf6b8e7f85c7147f1ca595480460832cad4420..8532abb06908b0a48a113cde5a3e83dbb041aa53 100644 (file)
@@ -45,6 +45,7 @@ config XILINX_PS_EMAC
        tristate "Xilinx Zynq tri-speed EMAC support"
        depends on ARCH_ZYNQ
        select PHYLIB
+       select PTP_1588_CLOCK
        ---help---
          This driver supports tri-speed EMAC.