get xenbus_driver ->probe() "recognized" by modpost
... by giving the instances' names magic suffix recognized by modpost ;-/ Their ->probe() is __devinit Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -323,7 +323,7 @@ static struct xenbus_device_id xenkbd_ids[] = {
|
||||
{ "" }
|
||||
};
|
||||
|
||||
static struct xenbus_driver xenkbd = {
|
||||
static struct xenbus_driver xenkbd_driver = {
|
||||
.name = "vkbd",
|
||||
.owner = THIS_MODULE,
|
||||
.ids = xenkbd_ids,
|
||||
@@ -342,12 +342,12 @@ static int __init xenkbd_init(void)
|
||||
if (xen_initial_domain())
|
||||
return -ENODEV;
|
||||
|
||||
return xenbus_register_frontend(&xenkbd);
|
||||
return xenbus_register_frontend(&xenkbd_driver);
|
||||
}
|
||||
|
||||
static void __exit xenkbd_cleanup(void)
|
||||
{
|
||||
xenbus_unregister_driver(&xenkbd);
|
||||
xenbus_unregister_driver(&xenkbd_driver);
|
||||
}
|
||||
|
||||
module_init(xenkbd_init);
|
||||
|
Reference in New Issue
Block a user