2 #include <linux/module.h>
3 #include <xen/driver_util.h>
5 struct class *get_xen_class(void)
7 static struct class *xen_class;
12 xen_class = class_create(THIS_MODULE, "xen");
13 if (IS_ERR(xen_class)) {
14 printk("Failed to create xen sysfs class.\n");
20 EXPORT_SYMBOL_GPL(get_xen_class);