From: Randy Dunlap Date: Mon, 25 Aug 2014 20:11:48 +0000 (-0700) Subject: net: bnx2x: fix build error with ptp X-Git-Tag: fixes-against-v3.18-rc2~81^2~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79918afb714e0d699431d59bbba33a34a82cee0;p=pandora-kernel.git net: bnx2x: fix build error with ptp 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: Jim Davis Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller --- Reading git-diff-tree failed