All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] w35und: Move ETH_LENGTH_OF_ADDRESS to wbhal_s.h
@ 2009-01-08  9:30 Pekka J Enberg
  2009-01-08  9:46 ` Harvey Harrison
  0 siblings, 1 reply; 5+ messages in thread
From: Pekka J Enberg @ 2009-01-08  9:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Pavel Machek, linux-kernel

From: Pekka Enberg <penberg@cs.helsinki.fi>

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@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-08 10:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-08  9:30 [PATCH 1/3] w35und: Move ETH_LENGTH_OF_ADDRESS to wbhal_s.h Pekka J Enberg
2009-01-08  9:46 ` Harvey Harrison
2009-01-08  9:56   ` Pekka Enberg
2009-01-08 10:08     ` Pavel Machek
2009-01-08 10:13     ` Harvey Harrison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.