xenbus: Re: #2 (Re: More modaliases + patchtool))

From: Dzianis Kahanovich
Date: Fri Sep 17 2010 - 09:25:57 EST


...

Fix lost XENBUS modaliases

Signed-off-by: Dzianis Kahanovich <mahatma@xxxxx>

--- linux-2.6.36-rc4-git3/drivers/block/xen-blkfront.c 2010-09-17 12:30:30.000000000 +0300
+++ b/drivers/block/xen-blkfront.c 2010-09-17 12:38:42.342470778 +0300
@@ -1306,6 +1306,9 @@ static int __init xlblk_init(void)

return xenbus_register_frontend(&blkfront);
}
+
+MODULE_DEVICE_TABLE(xenbus, blkfront_ids);
+
module_init(xlblk_init);


--- linux-2.6.36-rc4-git3/drivers/input/xen-kbdfront.c 2010-09-17 12:30:30.000000000 +0300
+++ b/drivers/input/xen-kbdfront.c 2010-09-17 12:38:49.836217742 +0300
@@ -354,6 +354,9 @@ static void __exit xenkbd_cleanup(void)
xenbus_unregister_driver(&xenkbd_driver);
}

+
+MODULE_DEVICE_TABLE(xenbus, xenkbd_ids);
+
module_init(xenkbd_init);
module_exit(xenkbd_cleanup);

--- linux-2.6.36-rc4-git3/drivers/net/xen-netfront.c 2010-09-17 12:30:30.000000000 +0300
+++ b/drivers/net/xen-netfront.c 2010-09-17 12:38:56.182883859 +0300
@@ -1816,6 +1816,9 @@ static int __init netif_init(void)

return xenbus_register_frontend(&netfront_driver);
}
+
+MODULE_DEVICE_TABLE(xenbus, netfront_ids);
+
module_init(netif_init);


--- linux-2.6.36-rc4-git3/drivers/video/xen-fbfront.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/video/xen-fbfront.c 2010-09-17 12:39:06.532811597 +0300
@@ -699,6 +699,9 @@ static void __exit xenfb_cleanup(void)
xenbus_unregister_driver(&xenfb_driver);
}

+
+MODULE_DEVICE_TABLE(xenbus, xenfb_ids);
+
module_init(xenfb_init);
module_exit(xenfb_cleanup);