net: netcp: remove unused kconfig option and code
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Tue, 27 Jan 2015 14:49:54 +0000 (09:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jan 2015 01:19:18 +0000 (17:19 -0800)
Currently CPTS is built into the netcp driver even though there is no
call out to the CPTS driver. This patch removes the dependency in Kconfig
and remove cpts.o from the Makefile for NetCP.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/Kconfig
drivers/net/ethernet/ti/Makefile

index e11bcfa69f52ed2c247e88a0feda82ffc244d472..4ea1663f3deae31bb6558d4921728e8784cb9363 100644 (file)
@@ -73,7 +73,6 @@ config TI_CPSW
 config TI_CPTS
        boolean "TI Common Platform Time Sync (CPTS) Support"
        depends on TI_CPSW
-       depends on TI_CPSW || TI_KEYSTONE_NET
        select PTP_1588_CLOCK
        ---help---
          This driver supports the Common Platform Time Sync unit of
index 465d03ddf4414e2997f7a5587113a790d395ce23..0a9813bc04515dad1573204062615713c005aa08 100644 (file)
@@ -13,4 +13,4 @@ ti_cpsw-y := cpsw_ale.o cpsw.o cpts.o
 
 obj-$(CONFIG_TI_KEYSTONE_NETCP) += keystone_netcp.o
 keystone_netcp-y := netcp_core.o netcp_ethss.o netcp_sgmii.o \
-                       netcp_xgbepcsr.o cpsw_ale.o cpts.o
+                       netcp_xgbepcsr.o cpsw_ale.o