linux/drivers/net/ethernet/cadence
Arvind Yadav c744cf5b9d net: cadence: macb: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

File size before:
   text	   data	    bss	    dec	    hex	filename
    791	    336	      0	   1127	    467	net/ethernet/cadence/macb_pci.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
    855	    272	      0	   1127	    467	net/ethernet/cadence/macb_pci.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-17 13:37:15 -07:00
..
Kconfig net: macb: Add support for PTP timestamps in DMA descriptors 2017-06-30 13:11:41 -04:00
Makefile net: macb: Add hardware PTP support 2017-06-30 13:11:42 -04:00
macb.h net: macb: Add hardware PTP support 2017-06-30 13:11:42 -04:00
macb_main.c macb: Remove bogus reference to NETIF_F_UFO. 2017-07-17 09:52:57 -07:00
macb_pci.c net: cadence: macb: constify pci_device_id. 2017-07-17 13:37:15 -07:00
macb_ptp.c net: macb: Add hardware PTP support 2017-06-30 13:11:42 -04:00