Michael,
Thanks. I forgot to update the bfin_mac head file.
Sonic
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, June 15, 2010 7:29 PM
To: [email protected]
Subject: [Linux-kernel-commits] [8915]
trunk/include/linux/bfin_mac.h: Fix compile issue on all BFIN_MAC
enabled boards:
Revision
8915
<http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=brow
se&path=/&view=rev&root=linux-kernel&revision=8915>
Author
hennerich
<http://blackfin.uclinux.org/gf/user/hennerich/>
Date
2010-06-15 07:29:16 -0400 (Tue, 15 Jun 2010)
Log Message
Fix compile issue on all BFIN_MAC enabled boards:
Include linux/phy.h add missing
struct member phy_mode
Avoid warning:
mac_peripherals must be declared const.
Modified Paths
* trunk/include/linux/bfin_mac.h
Diff
Modified: trunk/include/linux/bfin_mac.h (8914 => 8915)
--- trunk/include/linux/bfin_mac.h 2010-06-15 09:51:05 UTC
(rev 8914)
+++ trunk/include/linux/bfin_mac.h 2010-06-15 11:29:16 UTC
(rev 8915)
@@ -14,6 +14,7 @@
#include <linux/clocksource.h>
#include <linux/timecompare.h>
#include <linux/timer.h>
+#include <linux/phy.h>
/*
* Disable hardware checksum for bug #5600 if writeback cache
is
@@ -105,7 +106,8 @@
struct bfin_mii_bus_platform_data {
int phydev_number;
struct bfin_phydev_platform_data *phydev_data;
- unsigned short *mac_peripherals;
+ const unsigned short *mac_peripherals;
+ int phy_mode;
};
extern void bfin_get_ether_addr(char *addr);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits