diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-11-22 17:38:14 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-30 10:03:38 -0800 |
commit | ffb78a26169351f6c22cdae481b057d50d5d759b (patch) | |
tree | 4356a881b0d6d192a6d8dbb4f965a3f4a2a35b8a /drivers/video | |
parent | df6b07949b6cab9d119363d02ef63379160f6c82 (diff) | |
download | op-kernel-dev-ffb78a26169351f6c22cdae481b057d50d5d759b.zip op-kernel-dev-ffb78a26169351f6c22cdae481b057d50d5d759b.tar.gz |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/xen-fbfront.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index a463b3d..2493f05 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c @@ -668,7 +668,7 @@ static struct xenbus_device_id xenfb_ids[] = { { "" } }; -static struct xenbus_driver xenfb = { +static struct xenbus_driver xenfb_driver = { .name = "vfb", .owner = THIS_MODULE, .ids = xenfb_ids, @@ -687,12 +687,12 @@ static int __init xenfb_init(void) if (xen_initial_domain()) return -ENODEV; - return xenbus_register_frontend(&xenfb); + return xenbus_register_frontend(&xenfb_driver); } static void __exit xenfb_cleanup(void) { - xenbus_unregister_driver(&xenfb); + xenbus_unregister_driver(&xenfb_driver); } module_init(xenfb_init); |