stmmac: Make time functionality depend upon RTC_HCTOSYS_DEVICE
authorDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2010 03:32:02 +0000 (20:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2010 03:32:02 +0000 (20:32 -0700)
Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/Kconfig

index 6439680..3c2af7c 100644 (file)
@@ -32,6 +32,7 @@ config STMMAC_DUAL_MAC
 config STMMAC_TIMER
        bool "STMMAC Timer optimisation"
        default n
+       depends on RTC_HCTOSYS_DEVICE
        help
          Use an external timer for mitigating the number of network
          interrupts. Currently, for SH architectures, it is possible