diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2009-11-22 22:59:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-23 10:37:52 -0800 |
commit | 73cfe264c27fb50d4592ef1580486bea319443ac (patch) | |
tree | 391dc6e6a1845457f46cb4ba3c4c0683e71d7b66 /drivers/net/stmmac/stmmac_timer.h | |
parent | e6e3625f3b95145bfcf421285f8f7f452a5adf7e (diff) | |
download | linux-stable-73cfe264c27fb50d4592ef1580486bea319443ac.tar.gz linux-stable-73cfe264c27fb50d4592ef1580486bea319443ac.tar.bz2 linux-stable-73cfe264c27fb50d4592ef1580486bea319443ac.zip |
stmmac: do not fail when the timer cannot be used.
If the external timer cannot be used the driver
will continue to work without mitigation.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/stmmac_timer.h')
-rw-r--r-- | drivers/net/stmmac/stmmac_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac_timer.h b/drivers/net/stmmac/stmmac_timer.h index f795cae33725..6863590d184b 100644 --- a/drivers/net/stmmac/stmmac_timer.h +++ b/drivers/net/stmmac/stmmac_timer.h @@ -26,6 +26,7 @@ struct stmmac_timer { void (*timer_start) (unsigned int new_freq); void (*timer_stop) (void); unsigned int freq; + unsigned int enable; }; /* Open the HW timer device and return 0 in case of success */ |