diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-10 23:45:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-15 01:42:51 +0300 |
commit | 51367e423c6501a26e67d91a655d2bc892303462 (patch) | |
tree | 8cd4964eb414c3e7062fec41933d5f2a5c6747ab /net/ipv6/ip6mr.c | |
parent | 8236b08cf50f85bbfaf48910a0b3ee68318b7c4b (diff) | |
download | linux-51367e423c6501a26e67d91a655d2bc892303462.tar.xz |
w90p910_ether: remove incorrect __init annotation
The get_mac_address() function is normally inline, but when it is
not, we get a warning that this configuration is broken:
WARNING: vmlinux.o(.text+0x4aff00): Section mismatch in reference from the function w90p910_ether_setup() to the function .init.text:get_mac_address()
The function w90p910_ether_setup() references
the function __init get_mac_address().
This is often because w90p910_ether_setup lacks a __init
Remove the __init to make it always do the right thing.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6mr.c')
0 files changed, 0 insertions, 0 deletions