mirror of https://gitee.com/openkylin/linux.git
xen/evtchn: Fix name of Xen event-channel device
The Xen event-channel device is named evtchn in the kernel but always used as /dev/xen/evtchn in userspace. This patch fixes the name. Signed-off-by: Bastian Blank <waldi@debian.org> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
3f5e554f66
commit
376d908f52
|
@ -517,7 +517,7 @@ static const struct file_operations evtchn_fops = {
|
|||
|
||||
static struct miscdevice evtchn_miscdev = {
|
||||
.minor = MISC_DYNAMIC_MINOR,
|
||||
.name = "evtchn",
|
||||
.name = "xen/evtchn",
|
||||
.fops = &evtchn_fops,
|
||||
};
|
||||
static int __init evtchn_init(void)
|
||||
|
|
Loading…
Reference in New Issue