Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / xen / evtchn / evtchn.c
index 4323b58..76bfab8 100644 (file)
@@ -31,6 +31,7 @@
  * IN THE SOFTWARE.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -418,9 +419,10 @@ static struct file_operations evtchn_fops = {
 };
 
 static struct miscdevice evtchn_miscdev = {
-       .minor        = MISC_DYNAMIC_MINOR,
+       .minor        = EVTCHN_MINOR,
        .name         = "evtchn",
        .fops         = &evtchn_fops,
+       .devfs_name   = "misc/evtchn",
 };
 
 static int __init evtchn_init(void)