• Randy Dunlap's avatar
    net: bnx2x: fix build error with ptp · f79918af
    Randy Dunlap authored
    bnx2x uses ptp functions, so it should select the provider of
    those functions (PTP_1588_CLOCK).  Fixes these build errors:
    
    drivers/built-in.o: In function `__bnx2x_remove':
    /home/jim/linux/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:13409:
    undefined reference to `ptp_clock_unregister'
    drivers/built-in.o: In function `bnx2x_register_phc':
    /home/jim/linux/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:13202:
    undefined reference to `ptp_clock_register'
    drivers/built-in.o: In function `bnx2x_get_ts_info':
    /home/jim/linux/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3498:
    undefined reference to `ptp_clock_index'
    Reported-by: default avatarJim Davis <jim.epost@gmail.com>
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f79918af
Kconfig 4.5 KB