aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-17 18:20:45 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 02:56:10 -0400
commit3725d8c97436aeaa03eeb0c25361a7ec0f3f5bd2 (patch)
treec773759b4757473172ff6ba3ec26c134f5fc3d42 /drivers/net/wimax/i2400m/i2400m.h
parent2869da8587604e3fea5f85aeade486a08e8313bf (diff)
wimax/i2400m: Implement pre/post reset support in the USB driver
The USB stack can callback a driver is about to be reset by an external entity and right after it, so the driver can save state and then restore it. This commit implements said support; it is implemented actually in the core, bus-generic driver [i2400m_{pre,post}_reset()] and used by the bus-specific drivers. This way the SDIO driver can also use it once said support is brought to the SDIO stack. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r--drivers/net/wimax/i2400m/i2400m.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index 1724955e0fe9..8fc8a0ca5126 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -817,6 +817,8 @@ void i2400m_put(struct i2400m *i2400m)
817} 817}
818 818
819extern int i2400m_dev_reset_handle(struct i2400m *, const char *); 819extern int i2400m_dev_reset_handle(struct i2400m *, const char *);
820extern int i2400m_pre_reset(struct i2400m *);
821extern int i2400m_post_reset(struct i2400m *);
820 822
821/* 823/*
822 * _setup()/_release() are called by the probe/disconnect functions of 824 * _setup()/_release() are called by the probe/disconnect functions of