aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-06 21:16:31 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-06 21:16:31 +0000
commit1428b8f9bc3c188f2894f9c9780cedbbbee69824 (patch)
treed93dac3cabd8a4163dab4071cd028e97383bda96 /target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch
parent478e2efca723f666d75ee6e357349082e1a09eba (diff)
downloadupstream-1428b8f9bc3c188f2894f9c9780cedbbbee69824.tar.gz
upstream-1428b8f9bc3c188f2894f9c9780cedbbbee69824.tar.bz2
upstream-1428b8f9bc3c188f2894f9c9780cedbbbee69824.zip
refresh kernel patches
SVN-Revision: 21694
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch b/target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch
index f48c58052f..5931d29e8b 100644
--- a/target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/975-ssb_update.patch
@@ -350,7 +350,7 @@
/* Helper to extract some _offset, which is one of the SSB_SPROM_XXX defines. */
#define SPEX16(_outvar, _offset, _mask, _shift) \
out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift))
-@@ -253,7 +254,7 @@ static int sprom_do_read(struct ssb_bus
+@@ -253,7 +254,7 @@ static int sprom_do_read(struct ssb_bus
int i;
for (i = 0; i < bus->sprom_size; i++)
@@ -404,7 +404,10 @@
+static int ssb_pcmcia_get_mac(struct pcmcia_device *p_dev,
+ tuple_t *tuple,
+ void *priv)
-+{
+ {
+- tuple_t tuple;
+- int res;
+- unsigned char buf[32];
+ struct ssb_sprom *sprom = priv;
+
+ if (tuple->TupleData[0] != CISTPL_FUNCE_LAN_NODE_ID)
@@ -420,10 +423,7 @@
+static int ssb_pcmcia_do_get_invariants(struct pcmcia_device *p_dev,
+ tuple_t *tuple,
+ void *priv)
- {
-- tuple_t tuple;
-- int res;
-- unsigned char buf[32];
++{
+ struct ssb_init_invariants *iv = priv;
struct ssb_sprom *sprom = &iv->sprom;
struct ssb_boardinfo *bi = &iv->boardinfo;