diff options
-rw-r--r-- | drivers/net/skfp/h/osdef1st.h | 2 | ||||
-rw-r--r-- | drivers/net/skfp/smt.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/skfp/h/osdef1st.h b/drivers/net/skfp/h/osdef1st.h index 5359eb53008d..763ca18cbea8 100644 --- a/drivers/net/skfp/h/osdef1st.h +++ b/drivers/net/skfp/h/osdef1st.h | |||
@@ -20,6 +20,8 @@ | |||
20 | // HWM (HardWare Module) Definitions | 20 | // HWM (HardWare Module) Definitions |
21 | // ----------------------- | 21 | // ----------------------- |
22 | 22 | ||
23 | #include <asm/byteorder.h> | ||
24 | |||
23 | #ifdef __LITTLE_ENDIAN | 25 | #ifdef __LITTLE_ENDIAN |
24 | #define LITTLE_ENDIAN | 26 | #define LITTLE_ENDIAN |
25 | #else | 27 | #else |
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 71935eaf9d4e..c3a0d2f10b2b 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c | |||
@@ -86,7 +86,7 @@ static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, | |||
86 | static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, | 86 | static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest, |
87 | u_long tid, int local); | 87 | u_long tid, int local); |
88 | #ifdef LITTLE_ENDIAN | 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 | #endif | 90 | #endif |
91 | static void smt_add_frame_len(SMbuf *mb, int len); | 91 | static void smt_add_frame_len(SMbuf *mb, int len); |
92 | static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una); | 92 | static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una); |