cpts: add missing kconfig dependency
authorRichard Cochran <richardcochran@gmail.com>
Mon, 26 Nov 2012 02:07:18 +0000 (02:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Nov 2012 22:22:14 +0000 (17:22 -0500)
The Common Platform Time Sync function of the CPSW does not depend the
CPSW configuration option as it should. This patch fixes the issue by
adding the dependency.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/Kconfig

index 48fcb5e..4426151 100644 (file)
@@ -62,6 +62,7 @@ config TI_CPSW
 
 config TI_CPTS
        boolean "TI Common Platform Time Sync (CPTS) Support"
+       depends on TI_CPSW
        select PTP_1588_CLOCK
        ---help---
          This driver supports the Common Platform Time Sync unit of