projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fddi: skfp: smt: Place definition of 'smt_pdef' under same stipulations as its use
[linux-block.git]
/
drivers
/
net
/
fddi
/
skfp
/
smt.c
diff --git
a/drivers/net/fddi/skfp/smt.c
b/drivers/net/fddi/skfp/smt.c
index b8c59d803ce68fc9bc3d81ee965cd3de5a76a021..a151d336b9046308dfde2fa131c8d7bc7607494d 100644
(file)
--- a/
drivers/net/fddi/skfp/smt.c
+++ b/
drivers/net/fddi/skfp/smt.c
@@
-1561,7
+1561,7
@@
u_long smt_get_tid(struct s_smc *smc)
return tid & 0x3fffffffL;
}
-
+#ifdef LITTLE_ENDIAN
/*
* table of parameter lengths
*/
@@
-1641,6
+1641,7
@@
static const struct smt_pdef {
} ;
#define N_SMT_PLEN ARRAY_SIZE(smt_pdef)
+#endif
int smt_check_para(struct s_smc *smc, struct smt_header *sm,
const u_short list[])