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 48fcb5e3bd3ddcfdf55efa4eb21e6b92b612259e..4426151d4ac9d7bd3415bee2ac97e9944ac4f633 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