diff options
author | Mark Einon <mark.einon@gmail.com> | 2011-10-01 11:14:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-04 10:43:14 -0700 |
commit | d84b7e29d8ea049c352af89db69cff7e791a9418 (patch) | |
tree | bfc62af9045e6e9e0297d1378d1da541e87b225a /drivers/staging/et131x/et131x.h | |
parent | 25e1c2780c2cef0456c850237abd895781d34e44 (diff) | |
download | op-kernel-dev-d84b7e29d8ea049c352af89db69cff7e791a9418.zip op-kernel-dev-d84b7e29d8ea049c352af89db69cff7e791a9418.tar.gz |
staging: et131x: Fix add_timer() from et131x_open
The error_timer was only getting initialised and an initial jiffies value set following a probe.
This could result in the timer needlessly expiring immediately after et131x_open is called.
Now this is all done from the open call instead.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x.h')
-rw-r--r-- | drivers/staging/et131x/et131x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h index 15486d1..c8f5ab1 100644 --- a/drivers/staging/et131x/et131x.h +++ b/drivers/staging/et131x/et131x.h @@ -52,6 +52,7 @@ int et131x_init_eeprom(struct et131x_adapter *adapter); /* et131x_initpci.c */ +void et131x_error_timer_handler(unsigned long data); void et131x_configure_global_regs(struct et131x_adapter *adapter); void et131x_enable_interrupts(struct et131x_adapter *adapter); void et131x_disable_interrupts(struct et131x_adapter *adapter); |