summaryrefslogtreecommitdiff
path: root/include/tsec.h
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/tsec.h
parent8ba50176fc1bfa3d1e96f298bd86f3e04d095305 (diff)
downloadu-boot-imx-56a27a1e6cbc414a8d5b9e59314119777c092635.zip
u-boot-imx-56a27a1e6cbc414a8d5b9e59314119777c092635.tar.gz
u-boot-imx-56a27a1e6cbc414a8d5b9e59314119777c092635.tar.bz2
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/tsec.h')
-rw-r--r--include/tsec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h
index 7200229..e8b03d6 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 {