From: Mugunthan V N Date: Tue, 27 Nov 2012 07:53:40 +0000 (+0000) Subject: net: ethernet: cpsw: fix build warnings for CPSW when CPTS not selected X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3177bf6f922f62743133abbcbbbb5545f4133b2d;p=pandora-kernel.git 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 Acked-by: Richard Cochran Signed-off-by: David S. Miller --- Reading git-diff-tree failed