diff options
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/slcan.c | 7 | ||||
-rw-r--r-- | drivers/net/can/vcan.c | 5 |
2 files changed, 3 insertions, 9 deletions
diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan.c index acb5b92ace92..c837eb91d43e 100644 --- a/drivers/net/can/slcan.c +++ b/drivers/net/can/slcan.c | |||
@@ -56,9 +56,6 @@ | |||
56 | #include <linux/can.h> | 56 | #include <linux/can.h> |
57 | #include <linux/can/skb.h> | 57 | #include <linux/can/skb.h> |
58 | 58 | ||
59 | static __initconst const char banner[] = | ||
60 | KERN_INFO "slcan: serial line CAN interface driver\n"; | ||
61 | |||
62 | MODULE_ALIAS_LDISC(N_SLCAN); | 59 | MODULE_ALIAS_LDISC(N_SLCAN); |
63 | MODULE_DESCRIPTION("serial line CAN interface"); | 60 | MODULE_DESCRIPTION("serial line CAN interface"); |
64 | MODULE_LICENSE("GPL"); | 61 | MODULE_LICENSE("GPL"); |
@@ -702,8 +699,8 @@ static int __init slcan_init(void) | |||
702 | if (maxdev < 4) | 699 | if (maxdev < 4) |
703 | maxdev = 4; /* Sanity */ | 700 | maxdev = 4; /* Sanity */ |
704 | 701 | ||
705 | printk(banner); | 702 | pr_info("slcan: serial line CAN interface driver\n"); |
706 | printk(KERN_INFO "slcan: %d dynamic interface channels.\n", maxdev); | 703 | pr_info("slcan: %d dynamic interface channels.\n", maxdev); |
707 | 704 | ||
708 | slcan_devs = kzalloc(sizeof(struct net_device *)*maxdev, GFP_KERNEL); | 705 | slcan_devs = kzalloc(sizeof(struct net_device *)*maxdev, GFP_KERNEL); |
709 | if (!slcan_devs) | 706 | if (!slcan_devs) |
diff --git a/drivers/net/can/vcan.c b/drivers/net/can/vcan.c index 4e94057ef5cf..674f367087c5 100644 --- a/drivers/net/can/vcan.c +++ b/drivers/net/can/vcan.c | |||
@@ -50,9 +50,6 @@ | |||
50 | #include <linux/slab.h> | 50 | #include <linux/slab.h> |
51 | #include <net/rtnetlink.h> | 51 | #include <net/rtnetlink.h> |
52 | 52 | ||
53 | static __initconst const char banner[] = | ||
54 | KERN_INFO "vcan: Virtual CAN interface driver\n"; | ||
55 | |||
56 | MODULE_DESCRIPTION("virtual CAN interface"); | 53 | MODULE_DESCRIPTION("virtual CAN interface"); |
57 | MODULE_LICENSE("Dual BSD/GPL"); | 54 | MODULE_LICENSE("Dual BSD/GPL"); |
58 | MODULE_AUTHOR("Urs Thuermann <urs.thuermann@volkswagen.de>"); | 55 | MODULE_AUTHOR("Urs Thuermann <urs.thuermann@volkswagen.de>"); |
@@ -173,7 +170,7 @@ static struct rtnl_link_ops vcan_link_ops __read_mostly = { | |||
173 | 170 | ||
174 | static __init int vcan_init_module(void) | 171 | static __init int vcan_init_module(void) |
175 | { | 172 | { |
176 | printk(banner); | 173 | pr_info("vcan: Virtual CAN interface driver\n"); |
177 | 174 | ||
178 | if (echo) | 175 | if (echo) |
179 | printk(KERN_INFO "vcan: enabled echo on driver level.\n"); | 176 | printk(KERN_INFO "vcan: enabled echo on driver level.\n"); |