From 56a27a1e6cbc414a8d5b9e59314119777c092635 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Mon, 11 Jan 2016 22:41:22 -0800 Subject: 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 Acked-by: Joe Hershberger --- include/tsec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/tsec.h') 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 { -- cgit v1.2.1