diff options
| author | Paul Gortmaker <[email protected]> | 2016-07-11 20:37:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-07-12 05:44:26 +0000 |
| commit | d3fc0353f7c709a6a7fea340211eeb7bbc3e4c66 (patch) | |
| tree | e3d46390d474774f945aa8113c7cc41812e6292a /net/switchdev/switchdev.c | |
| parent | net: ethernet: bgmac: Fix return value check in bgmac_probe() (diff) | |
| download | kernel-d3fc0353f7c709a6a7fea340211eeb7bbc3e4c66.tar.gz kernel-d3fc0353f7c709a6a7fea340211eeb7bbc3e4c66.zip | |
ipv4: af_inet: make it explicitly non-modular
The Makefile controlling compilation of this file is obj-y,
meaning that it currently is never being built as a module.
Since MODULE_ALIAS is a no-op for non-modular code, we can simply
remove the MODULE_ALIAS_NETPROTO variant used here.
We replace module.h with kmod.h since the file does make use of
request_module() in order to load other modules from here.
We don't have to worry about init.h coming in via the removed
module.h since the file explicitly includes init.h already.
Cc: "David S. Miller" <[email protected]>
Cc: Alexey Kuznetsov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
