diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-02 03:46:52 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-26 18:29:26 -0400 |
commit | 854608d824dc2c8e14c373e0c46cefda5386ed8a (patch) | |
tree | 3cfe009c00daeec4c1e3508992be61420806f9fc /drivers | |
parent | de70b4c87b8f1d484cf533536c0c6ce2e05101cf (diff) | |
download | kernel_samsung_smdk4412-854608d824dc2c8e14c373e0c46cefda5386ed8a.zip kernel_samsung_smdk4412-854608d824dc2c8e14c373e0c46cefda5386ed8a.tar.gz kernel_samsung_smdk4412-854608d824dc2c8e14c373e0c46cefda5386ed8a.tar.bz2 |
[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>
Diffstat (limited to 'drivers')
-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 5359eb5..763ca18 100644 --- a/drivers/net/skfp/h/osdef1st.h +++ b/drivers/net/skfp/h/osdef1st.h @@ -20,6 +20,8 @@ // HWM (HardWare Module) Definitions // ----------------------- +#include <asm/byteorder.h> + #ifdef __LITTLE_ENDIAN #define LITTLE_ENDIAN #else diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 71935ea..c3a0d2f 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, 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); |