Commit 854608d8 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

[PATCH] drivers/net/skfp/: fix LITTLE_ENDIAN

This patch fixes the LITTLE_ENDIAN #define and a function prototype.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent de70b4c8
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// HWM (HardWare Module) Definitions // HWM (HardWare Module) Definitions
// ----------------------- // -----------------------
#include <asm/byteorder.h>
#ifdef __LITTLE_ENDIAN #ifdef __LITTLE_ENDIAN
#define LITTLE_ENDIAN #define LITTLE_ENDIAN
#else #else
......
...@@ -86,7 +86,7 @@ static void smt_send_sif_config(struct s_smc *smc, struct fddi_addr *dest, ...@@ -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, static void smt_send_sif_operation(struct s_smc *smc, struct fddi_addr *dest,
u_long tid, int local); u_long tid, int local);
#ifdef LITTLE_ENDIAN #ifdef LITTLE_ENDIAN
static void smt_string_swap(void); static void smt_string_swap(char *data, const char *format, int len);
#endif #endif
static void smt_add_frame_len(SMbuf *mb, int len); static void smt_add_frame_len(SMbuf *mb, int len);
static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una); static void smt_fill_una(struct s_smc *smc, struct smt_p_una *una);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment