Commit 854608d824dc2c8e14c373e0c46cefda5386ed8a

Authored by Adrian Bunk
Committed by Jeff Garzik
1 parent de70b4c87b

[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
... ... @@ -20,6 +20,8 @@
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
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);