diff options
author | Jean Delvare <jdelvare@suse.de> | 2007-10-21 19:45:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-22 05:59:54 -0400 |
commit | 7131c6c73656b92aea806c6e688e97aa49ff911e (patch) | |
tree | 33b3395b6c77b2ecfe9511e46ec266098b6a7473 /net | |
parent | 305e1e96911417d8cda2699f6a20a6f434616a8c (diff) |
[INET]: Use MODULE_ALIAS_NET_PF_PROTO_TYPE where possible.
Now that we have this new macro, use it where possible.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/ipv4.c | 4 | ||||
-rw-r--r-- | net/dccp/ipv6.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 44f6e17e105f..222549ab274a 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -1037,8 +1037,8 @@ module_exit(dccp_v4_exit); | |||
1037 | * values directly, Also cover the case where the protocol is not specified, | 1037 | * values directly, Also cover the case where the protocol is not specified, |
1038 | * i.e. net-pf-PF_INET-proto-0-type-SOCK_DCCP | 1038 | * i.e. net-pf-PF_INET-proto-0-type-SOCK_DCCP |
1039 | */ | 1039 | */ |
1040 | MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-33-type-6"); | 1040 | MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 33, 6); |
1041 | MODULE_ALIAS("net-pf-" __stringify(PF_INET) "-proto-0-type-6"); | 1041 | MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 0, 6); |
1042 | MODULE_LICENSE("GPL"); | 1042 | MODULE_LICENSE("GPL"); |
1043 | MODULE_AUTHOR("Arnaldo Carvalho de Melo <acme@mandriva.com>"); | 1043 | MODULE_AUTHOR("Arnaldo Carvalho de Melo <acme@mandriva.com>"); |
1044 | MODULE_DESCRIPTION("DCCP - Datagram Congestion Controlled Protocol"); | 1044 | MODULE_DESCRIPTION("DCCP - Datagram Congestion Controlled Protocol"); |
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index cac53548c2d8..bbadd6681b83 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -1219,8 +1219,8 @@ module_exit(dccp_v6_exit); | |||
1219 | * values directly, Also cover the case where the protocol is not specified, | 1219 | * values directly, Also cover the case where the protocol is not specified, |
1220 | * i.e. net-pf-PF_INET6-proto-0-type-SOCK_DCCP | 1220 | * i.e. net-pf-PF_INET6-proto-0-type-SOCK_DCCP |
1221 | */ | 1221 | */ |
1222 | MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-33-type-6"); | 1222 | MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET6, 33, 6); |
1223 | MODULE_ALIAS("net-pf-" __stringify(PF_INET6) "-proto-0-type-6"); | 1223 | MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET6, 0, 6); |
1224 | MODULE_LICENSE("GPL"); | 1224 | MODULE_LICENSE("GPL"); |
1225 | MODULE_AUTHOR("Arnaldo Carvalho de Melo <acme@mandriva.com>"); | 1225 | MODULE_AUTHOR("Arnaldo Carvalho de Melo <acme@mandriva.com>"); |
1226 | MODULE_DESCRIPTION("DCCPv6 - Datagram Congestion Controlled Protocol"); | 1226 | MODULE_DESCRIPTION("DCCPv6 - Datagram Congestion Controlled Protocol"); |