netsniff-ng-libs = -lGeoIP \ $(shell pkg-config --libs libnl-3.0) \ $(shell pkg-config --libs libnl-genl-3.0) \ -lpcap \ -lpthread \ -lz netsniff-ng-objs = dissector.o \ dissector_eth.o \ dissector_80211.o \ proto_arp.o \ proto_ethernet.o \ proto_icmpv4.o \ proto_icmpv6.o \ proto_igmp.o \ proto_ip_authentication_hdr.o \ proto_ip_esp.o \ proto_ipv4.o \ proto_ipv6.o \ proto_ipv6_dest_opts.o \ proto_ipv6_fragm.o \ proto_ipv6_hop_by_hop.o \ proto_ipv6_in_ipv4.o \ proto_ipv6_mobility_hdr.o \ proto_ipv6_no_nxt_hdr.o \ proto_ipv6_routing.o \ proto_lldp.o \ proto_none.o \ proto_tcp.o \ proto_udp.o \ proto_vlan.o \ proto_vlan_q_in_q.o \ proto_mpls_unicast.o \ proto_80211_mac_hdr.o \ promisc.o \ privs.o \ proc.o \ dev.o \ str.o \ sig.o \ sock.o \ irq.o \ iosched.o \ ioops.o \ link.o \ xmalloc.o \ hash.o \ bpf.o \ bpf_comp.o \ oui.o \ pcap_rw.o \ pcap_sg.o \ pcap_mm.o \ ring_rx.o \ ring_tx.o \ ring.o \ tprintf.o \ tstamping.o \ timer.o \ geoip.o \ mac80211.o \ netsniff-ng.o aster'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm-fiq.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-01-21 12:28:58 +0530
committerDavid S. Miller <davem@davemloft.net>2017-01-23 15:58:49 -0500
commit10eeb5e645b5332b24986a554046f6c9cc2c22d4 (patch)
treeb40cfad424001399db8abf46ba4a0958df054a89 /sound/soc/fsl/imx-pcm-fiq.c
parent30bd2f52e56ea35028cf1d13c21484918b6ff22d (diff)
net: xilinx: constify net_device_ops structure
Declare net_device_ops structure as const as it is only stored in the netdev_ops field of a net_device structure. This field is of type const, so net_device_ops structures having same properties can be made const too. Done using Coccinelle: @r1 disable optional_qualifier@ identifier i; position p; @@ static struct net_device_ops i@p={...}; @ok1@ identifier r1.i; position p; struct net_device ndev; @@ ndev.netdev_ops=&i@p @bad@ position p!={r1.p,ok1.p}; identifier r1.i; @@ i@p @depends on !bad disable optional_qualifier@ identifier r1.i; @@ +const struct net_device_ops i; File size before: text data bss dec hex filename 6201 744 0 6945 1b21 ethernet/xilinx/xilinx_emaclite.o File size after: text data bss dec hex filename 6745 192 0 6937 1b19 ethernet/xilinx/xilinx_emaclite.o Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-fiq.c')