diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2012-11-27 11:53:40 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-29 02:51:16 +0400 |
commit | 3177bf6f922f62743133abbcbbbb5545f4133b2d (patch) | |
tree | 4fd61e11cf9b4e2b600c21e94470e1bb36ac37a9 /drivers/net/usb | |
parent | 83a9d197c7ecd1913e84aaa982a7215666b656f2 (diff) | |
download | linux-3177bf6f922f62743133abbcbbbb5545f4133b2d.tar.xz |
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>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions