summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-01-11 22:41:22 -0800
committerJoe Hershberger <joe.hershberger@ni.com>2016-01-28 12:23:07 -0600
commit56a27a1e6cbc414a8d5b9e59314119777c092635 (patch)
tree959851841d0c8e75fabbd2a03d1b3a6e6ced0a0c /include
parent8ba50176fc1bfa3d1e96f298bd86f3e04d095305 (diff)
downloadblackbird-obmc-uboot-56a27a1e6cbc414a8d5b9e59314119777c092635.tar.gz
blackbird-obmc-uboot-56a27a1e6cbc414a8d5b9e59314119777c092635.zip
net: tsec: Use tsec_private pointer as the parameter for internal routines
For internal routines like redundant_init(), startup_tsec() and init_phy(), change to use tsec_private pointer as the parameter. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-rw-r--r--include/tsec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h
index 72002296e6..e8b03d64f5 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -402,6 +402,7 @@ struct tsec_private {
u32 flags;
uint rx_idx; /* index of the current RX buffer */
uint tx_idx; /* index of the current TX buffer */
+ struct eth_device *dev;
};
struct tsec_info_struct {
OpenPOWER on IntegriCloud