Title: [8182] trunk/include/linux/spi/adf702x.h: adf7021: move mac storage into platform struct
Revision
8182
Author
vapier
Date
2010-01-19 02:03:57 -0500 (Tue, 19 Jan 2010)

Log Message

adf7021: move mac storage into platform struct

Modified Paths


Diff

Modified: trunk/include/linux/spi/adf702x.h (8181 => 8182)


--- trunk/include/linux/spi/adf702x.h	2010-01-19 06:15:50 UTC (rev 8181)
+++ trunk/include/linux/spi/adf702x.h	2010-01-19 07:03:57 UTC (rev 8182)
@@ -5,7 +5,7 @@
  * and may vary between boards and models. The platform_data for the
  * device's "struct device" holds this information.
  *
- * Copyright 2009 Analog Devices Inc.
+ * Copyright 2009-2010 Analog Devices Inc.
  *
  * Licensed under the GPL-2 or later.
  */
@@ -13,11 +13,12 @@
 #ifndef __LINUX_SPI_ADF702X_H__
 #define __LINUX_SPI_ADF702X_H__
 
+#include <linux/if_ether.h>
+
 #define MODEL_ADF7021	7021
 #define MODEL_ADF7025	7025
 
 struct adf702x_platform_data {
-
 	/* Base reg base of SPORT controller */
 	void __iomem *regs_base;
 	unsigned dma_ch_rx;
@@ -29,6 +30,6 @@
 	const u32 *adf702x_regs;
 	u32 tx_reg;
 	u32 adf7025_tclkdiv;
-	const u8 *mac_addr;
+	u8 mac_addr[ETH_ALEN];
 };
 #endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to