[PATCH 1/3] w35und: Move ETH_LENGTH_OF_ADDRESS to wbhal_s.h

From: Pekka J Enberg
Date: Thu Jan 08 2009 - 04:31:14 EST


From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

The common.h header file is a dumping ground for miscellaneous crap. In order
to get rid of it, move the ETH_LENGHT_OF_ADDRESS macro to wbhal_s.h where it's
actually being used.

Cc: Pavel Machek <pavel@xxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---
drivers/staging/winbond/common.h | 1 -
drivers/staging/winbond/wbhal_s.h | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/winbond/common.h b/drivers/staging/winbond/common.h
index c4d9604..61ccc86 100644
--- a/drivers/staging/winbond/common.h
+++ b/drivers/staging/winbond/common.h
@@ -16,7 +16,6 @@
// Common function definition
//==================================================================================================
#define DEBUG_ENABLED
-#define ETH_LENGTH_OF_ADDRESS 6
#ifdef DEBUG_ENABLED
#define WBDEBUG( _M ) printk _M
#else
diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
index 276d2b1..513babb 100644
--- a/drivers/staging/winbond/wbhal_s.h
+++ b/drivers/staging/winbond/wbhal_s.h
@@ -427,6 +427,7 @@ typedef struct _TXVGA_FOR_50 {
#include "wb35tx_s.h"
#include "wb35rx_s.h"

+#define ETH_LENGTH_OF_ADDRESS 6

// For Hal using ==================================================================
typedef struct _HW_DATA_T
--
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/