• Arnd Bergmann's avatar
    ethernet: fix PTP_1588_CLOCK dependencies · e5f31552
    Arnd Bergmann authored
    The 'imply' keyword does not do what most people think it does, it only
    politely asks Kconfig to turn on another symbol, but does not prevent
    it from being disabled manually or built as a loadable module when the
    user is built-in. In the ICE driver, the latter now causes a link failure:
    
    aarch64-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_eth_ioctl':
    ice_main.c:(.text+0x13b0): undefined reference to `ice_ptp_get_ts_config'
    ice_main.c:(.text+0x13b0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ice_ptp_get_ts_config'
    aarch64-linux-ld: ice_main.c:(.text+0x13bc): undefined reference to `ice_ptp_set_ts_config'
    ice_main.c:(.text+0x13bc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ice_ptp_set_ts_config'
    aarch64-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
    ice_main.c:(.text+0x31fc): undefined reference to `ice_ptp_release'
    ice_main.c:(.text+0x31f...
    e5f31552
Kconfig 8.62 KB