Commit f5f71068 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

driver: return printk. Device not defined in init, exit function!

parent b449ef72
......@@ -1101,7 +1101,7 @@ EXPORT_SYMBOL(ctucan_probe_common);
static __init int ctucan_init(void)
{
netdev_info("%s CAN netdevice driver\n", DRV_NAME);
printk(KERN_INFO "%s CAN netdevice driver\n", DRV_NAME);
return 0;
}
......@@ -1110,7 +1110,7 @@ module_init(ctucan_init);
static __exit void ctucan_exit(void)
{
netdev_info("%s: driver removed\n", DRV_NAME);
printk(KERN_INFO "%s: driver removed\n", DRV_NAME);
}
module_exit(ctucan_exit);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment