summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2012-11-27 08:53:40 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-28 23:51:16 +0100
commit3177bf6f922f62743133abbcbbbb5545f4133b2d (patch)
tree4fd61e11cf9b4e2b600c21e94470e1bb36ac37a9 /net/can
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadlinux-3177bf6f922f62743133abbcbbbb5545f4133b2d.tar.xz
linux-3177bf6f922f62743133abbcbbbb5545f4133b2d.zip
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 'net/can')
0 files changed, 0 insertions, 0 deletions