2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/net/arcnet
Arvind Yadav c5567669fc arcnet: com20020-pci: constify attribute_group structures.
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/netdevice.h> work
with const attribute_group. So mark the non-const structs as const.

File size before:
   text	   data	    bss	    dec	    hex	filename
   3409	    948	     28	   4385	   1121	drivers/net/arcnet/com20020-pci.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
   3473	    884	     28	   4385	   1121	drivers/net/arcnet/com20020-pci.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-18 12:04:56 -07:00
..
arc-rawmode.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
arc-rimi.c arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
arcdevice.h drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00
arcnet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-30 12:43:08 -04:00
capmode.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-06-30 12:43:08 -04:00
com90io.c Annotate hardware config module parameters in drivers/net/arcnet/ 2017-04-20 12:02:32 +01:00
com90xx.c Annotate hardware config module parameters in drivers/net/arcnet/ 2017-04-20 12:02:32 +01:00
com9026.h arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
com20020_cs.c arcnet: com20020: Use arcnet_<I/O> routines 2015-09-23 08:44:26 +02:00
com20020-isa.c Annotate hardware config module parameters in drivers/net/arcnet/ 2017-04-20 12:02:32 +01:00
com20020-pci.c arcnet: com20020-pci: constify attribute_group structures. 2017-07-18 12:04:56 -07:00
com20020.c arcnet: com20020: remove needless base_addr assignment 2017-06-29 15:18:36 -04:00
com20020.h arcnet: com20020-pci: add led trigger support 2015-10-26 09:10:56 +01:00
Kconfig arcnet/com20020: add LEDS_CLASS dependency 2015-11-03 11:29:56 -05:00
Makefile com20020_cs: Move the PCMCIA Arcnet driver 2011-08-27 00:58:44 -07:00
rfc1051.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rfc1201.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00