net: tsec: Make redundant_init() static
redundant_init() is only called in the tsec driver. Make it static. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
		
							parent
							
								
									04c350c337
								
							
						
					
					
						commit
						10aaefba52
					
				| 
						 | 
				
			
			@ -443,7 +443,7 @@ static void tsec_halt(struct udevice *dev)
 | 
			
		|||
 * of the eTSEC port initialization sequence,
 | 
			
		||||
 * the eTSEC Rx logic may not be properly initialized.
 | 
			
		||||
 */
 | 
			
		||||
void redundant_init(struct tsec_private *priv)
 | 
			
		||||
static void redundant_init(struct tsec_private *priv)
 | 
			
		||||
{
 | 
			
		||||
	struct tsec __iomem *regs = priv->regs;
 | 
			
		||||
	uint t, count = 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue