Browse Source

stmmac: Make time functionality depend upon RTC_HCTOSYS_DEVICE

Based upon a report by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 15 years ago
parent
commit
250ad8f55c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/stmmac/Kconfig

+ 1 - 0
drivers/net/stmmac/Kconfig

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