summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.32/975-ssb_update.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-31 14:08:30 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-08-31 14:08:30 +0000
commit66f9c974c03db283551b7825cffe95a52ca964ad (patch)
tree18375a9dc49f901c142c4cb663b0d07dc556052a /target/linux/generic/patches-2.6.32/975-ssb_update.patch
parentee4dd61b1095aa103a20fb97f8dfabecc7a1f8a8 (diff)
downloadmtk-20170518-66f9c974c03db283551b7825cffe95a52ca964ad.zip
mtk-20170518-66f9c974c03db283551b7825cffe95a52ca964ad.tar.gz
mtk-20170518-66f9c974c03db283551b7825cffe95a52ca964ad.tar.bz2
refresh 2.6.32 patches
SVN-Revision: 22848
Diffstat (limited to 'target/linux/generic/patches-2.6.32/975-ssb_update.patch')
-rw-r--r--target/linux/generic/patches-2.6.32/975-ssb_update.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/patches-2.6.32/975-ssb_update.patch b/target/linux/generic/patches-2.6.32/975-ssb_update.patch
index 373df1a..0cb8483 100644
--- a/target/linux/generic/patches-2.6.32/975-ssb_update.patch
+++ b/target/linux/generic/patches-2.6.32/975-ssb_update.patch
@@ -343,10 +343,7 @@
+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)
@@ -362,7 +359,10 @@
+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;