Commit 854608d824dc2c8e14c373e0c46cefda5386ed8a
Committed by
Jeff Garzik
1 parent
de70b4c87b
Exists in
master
and in
4 other branches
[PATCH] drivers/net/skfp/: fix LITTLE_ENDIAN
This patch fixes the LITTLE_ENDIAN #define and a function prototype. Signed-off-by: Adrian Bunk <bunk@stusta.de>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
drivers/net/skfp/h/osdef1st.h
drivers/net/skfp/smt.c
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, |
87 | 87 | u_long tid, int local); |
88 | 88 | #ifdef LITTLE_ENDIAN |
89 | -static void smt_string_swap(void); | |
89 | +static void smt_string_swap(char *data, const char *format, int len); | |
90 | 90 | #endif |
91 | 91 | static void smt_add_frame_len(SMbuf *mb, int len); |
92 | 92 | static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una); |