aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/i2400m.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-16 21:33:26 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 02:56:09 -0400
commit2869da8587604e3fea5f85aeade486a08e8313bf (patch)
treee5894e5ffbc7eea4c3dc01406abfbbcfd8022467 /drivers/net/wimax/i2400m/i2400m.h
parent0856ccf29dfbaf957e4be80dd3eb88d97810b633 (diff)
wimax/i2400m: do bootmode buffer management in i2400m_setup/release()
After the introduction of i2400m->bus_setup/release, there is no more race condition where the bootmode buffers are needed before i2400m_setup() is called. Before, the SDIO driver would setup RX before calling i2400m_setup() and thus need those buffers; now RX setup is done in i2400m->bus_setup(), which is called by i2400m_setup(). Thus, all the bootmode buffer management can now be done completely inside i2400m_setup()/i2400m_release(), removing complexity from the bus-specific drivers. 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, 0 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index 407d0972f2f6..1724955e0fe9 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -817,8 +817,6 @@ 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_bm_buf_alloc(struct i2400m *i2400m);
821extern void i2400m_bm_buf_free(struct i2400m *i2400m);
822 820
823/* 821/*
824 * _setup()/_release() are called by the probe/disconnect functions of 822 * _setup()/_release() are called by the probe/disconnect functions of