Files
linux/drivers/net
Mugunthan V N 3177bf6f92 net: ethernet: cpsw: fix build warnings for CPSW when CPTS not selected
CC      drivers/net/ethernet/ti/cpsw.o
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_ndo_ioctl':
drivers/net/ethernet/ti/cpsw.c:881:20: warning: unused variable 'priv'

The build warning is generated when CPTS is not selected in Kernel Build.
Fixing by passing the net_device pointer to cpts IOCTL instead of passing priv

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-28 17:51:16 -05:00
..
2012-09-01 22:44:13 -04:00
2012-11-01 12:38:31 -04:00
2012-11-14 21:48:16 -05:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00
2012-11-20 13:41:28 -05:00