YueHaibing a7d40cbb24 net: cavium: Fix build errors due to 'imply CAVIUM_PTP'
If CAVIUM_PTP is m and THUNDER_NIC_VF is y, build fails:

drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function 'nicvf_remove':
nicvf_main.c:(.text+0x1f0): undefined reference to 'cavium_ptp_put'
drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function `nicvf_probe':
nicvf_main.c:(.text+0x557c): undefined reference to 'cavium_ptp_get'

THUNDER_NIC_VF imply CAVIUM_PTP, which allow the config now,
Use IS_REACHABLE() to avoid the vmlinux link error for this case.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: def2fbffe62c ("kconfig: allow symbols implied by y to become m")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-02 07:01:31 -07:00
..
2020-03-30 11:43:51 -07:00
2020-03-31 10:05:01 -07:00
2020-03-31 10:05:01 -07:00
2020-03-09 11:12:19 +01:00
2020-03-31 16:13:09 -07:00
2020-03-30 15:05:01 -07:00
2020-03-30 13:31:37 +02:00
2020-03-30 13:59:52 -07:00
2020-03-31 08:51:45 -07:00
2020-03-30 11:43:51 -07:00
2020-03-30 11:43:51 -07:00
2020-01-16 10:45:44 -08:00
2020-02-04 07:17:41 +00:00
2020-03-31 10:05:01 -07:00
2020-03-31 16:13:09 -07:00
2020-03-27 10:23:43 -06:00
2020-03-30 11:43:51 -07:00
2020-03-30 13:59:52 -07:00
2020-01-27 13:03:00 -08:00
2020-03-31 10:05:01 -07:00
2020-03-31 16:43:40 -07:00
2020-02-08 13:55:25 -08:00
2020-03-30 14:58:26 -07:00
2020-03-30 15:05:01 -07:00
2020-01-31 11:28:31 -08:00
2020-03-23 08:04:08 +01:00
2020-03-31 16:18:55 -07:00
2020-02-03 22:22:05 +00:00
2020-03-31 08:51:45 -07:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-03-30 18:06:39 -07:00