diff options
Diffstat (limited to 'drivers/net/arcnet/rfc1201.c')
-rw-r--r-- | drivers/net/arcnet/rfc1201.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/arcnet/rfc1201.c b/drivers/net/arcnet/rfc1201.c index 97af7d92c020..3dae14166120 100644 --- a/drivers/net/arcnet/rfc1201.c +++ b/drivers/net/arcnet/rfc1201.c | |||
@@ -23,6 +23,9 @@ | |||
23 | * | 23 | * |
24 | * ********************** | 24 | * ********************** |
25 | */ | 25 | */ |
26 | |||
27 | #define pr_fmt(fmt) "arcnet:" KBUILD_MODNAME ": " fmt | ||
28 | |||
26 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
27 | #include <linux/module.h> | 30 | #include <linux/module.h> |
28 | #include <linux/init.h> | 31 | #include <linux/init.h> |
@@ -32,7 +35,6 @@ | |||
32 | #include <linux/arcdevice.h> | 35 | #include <linux/arcdevice.h> |
33 | 36 | ||
34 | MODULE_LICENSE("GPL"); | 37 | MODULE_LICENSE("GPL"); |
35 | #define VERSION "arcnet: RFC1201 \"standard\" (`a') encapsulation support loaded.\n" | ||
36 | 38 | ||
37 | static __be16 type_trans(struct sk_buff *skb, struct net_device *dev); | 39 | static __be16 type_trans(struct sk_buff *skb, struct net_device *dev); |
38 | static void rx(struct net_device *dev, int bufnum, | 40 | static void rx(struct net_device *dev, int bufnum, |
@@ -56,7 +58,7 @@ static struct ArcProto rfc1201_proto = { | |||
56 | 58 | ||
57 | static int __init arcnet_rfc1201_init(void) | 59 | static int __init arcnet_rfc1201_init(void) |
58 | { | 60 | { |
59 | printk(VERSION); | 61 | pr_info("%s\n", "RFC1201 \"standard\" (`a') encapsulation support loaded"); |
60 | 62 | ||
61 | arc_proto_map[ARC_P_IP] | 63 | arc_proto_map[ARC_P_IP] |
62 | = arc_proto_map[ARC_P_IPV6] | 64 | = arc_proto_map[ARC_P_IPV6] |