[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>

authored by Adrian Bunk and committed by Jeff Garzik 854608d8 de70b4c8

+3 -1
+2
drivers/net/skfp/h/osdef1st.h
··· 20 20 // HWM (HardWare Module) Definitions 21 21 // ----------------------- 22 22 23 + #include <asm/byteorder.h> 24 + 23 25 #ifdef __LITTLE_ENDIAN 24 26 #define LITTLE_ENDIAN 25 27 #else
+1 -1
drivers/net/skfp/smt.c
··· 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);