Skip to content

Commit

Permalink
[PATCH] drivers/net/skfp/: fix LITTLE_ENDIAN
Browse files Browse the repository at this point in the history
This patch fixes the LITTLE_ENDIAN #define and a function prototype.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jun 26, 2005
1 parent de70b4c commit 854608d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/net/skfp/h/osdef1st.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
// HWM (HardWare Module) Definitions
// -----------------------

#include <asm/byteorder.h>

#ifdef __LITTLE_ENDIAN
#define LITTLE_ENDIAN
#else
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/skfp/smt.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest,
static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
u_long tid, int local);
#ifdef LITTLE_ENDIAN
static void smt_string_swap(void);
static void smt_string_swap(char *data, const char *format, int len);
#endif
static void smt_add_frame_len(SMbuf *mb, int len);
static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);
Expand Down

0 comments on commit 854608d

Please sign in to comment.