On Tue, Nov 27, 2012 at 11:23:40PM +0530, Mugunthan V N wrote: > 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@xxxxxx> Thanks for this fix. Acked-by: Richard Cochran <richardcochran@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html