OpenCloudOS-Kernel/drivers/net/ethernet/ti
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
..
Kconfig cpts: add missing kconfig dependency 2012-11-26 17:22:14 -05:00
Makefile cpts: introduce time stamping code and a PTP hardware clock. 2012-11-01 12:21:30 -04:00
cpmac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-19 16:03:15 -05:00
cpsw.c net: ethernet: cpsw: fix build warnings for CPSW when CPTS not selected 2012-11-28 17:51:16 -05:00
cpsw_ale.c drivers: net: ethernet: cpsw: add multicast address to ALE table 2012-11-01 12:21:29 -04:00
cpsw_ale.h drivers: net: ethernet: cpsw: add multicast address to ALE table 2012-11-01 12:21:29 -04:00
cpts.c cpts: introduce time stamping code and a PTP hardware clock. 2012-11-01 12:21:30 -04:00
cpts.h cpts: introduce time stamping code and a PTP hardware clock. 2012-11-01 12:21:30 -04:00
davinci_cpdma.c net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets 2012-10-02 22:34:21 -04:00
davinci_cpdma.h davinci*/tlan/cpmac: Move the Texas Instruments (TI) drivers 2011-08-12 03:41:10 -07:00
davinci_emac.c net: ethernet: davinci_emac: add pm_runtime support 2012-07-22 12:46:42 -07:00
davinci_mdio.c net: davinci_mdio: Fix typo mistake in calling runtime-pm api 2012-11-14 22:09:06 -05:00
tlan.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-05-07 23:35:40 -04:00
tlan.h davinci*/tlan/cpmac: Move the Texas Instruments (TI) drivers 2011-08-12 03:41:10 -07:00