xen-evtchn: correct comment and error output

The evtchn device has been moved to /dev/xen. Also change log level to
KERN_ERR as other xen drivers.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
Wei Liu 2013-02-18 14:57:59 +00:00 committed by Konrad Rzeszutek Wilk
parent 22230c18ab
commit 18283ea743
1 changed files with 2 additions and 2 deletions

View File

@ -534,10 +534,10 @@ static int __init evtchn_init(void)
spin_lock_init(&port_user_lock);
/* Create '/dev/misc/evtchn'. */
/* Create '/dev/xen/evtchn'. */
err = misc_register(&evtchn_miscdev);
if (err != 0) {
printk(KERN_ALERT "Could not register /dev/misc/evtchn\n");
printk(KERN_ERR "Could not register /dev/xen/evtchn\n");
return err;
}