aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/xen-fbfront.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/xen-fbfront.c')
-rw-r--r--drivers/video/xen-fbfront.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c
index beac52fc1c0e..cb4529c40d74 100644
--- a/drivers/video/xen-fbfront.c
+++ b/drivers/video/xen-fbfront.c
@@ -671,20 +671,17 @@ InitWait:
671 } 671 }
672} 672}
673 673
674static struct xenbus_device_id xenfb_ids[] = { 674static const struct xenbus_device_id xenfb_ids[] = {
675 { "vfb" }, 675 { "vfb" },
676 { "" } 676 { "" }
677}; 677};
678 678
679static struct xenbus_driver xenfb_driver = { 679static DEFINE_XENBUS_DRIVER(xenfb, ,
680 .name = "vfb",
681 .owner = THIS_MODULE,
682 .ids = xenfb_ids,
683 .probe = xenfb_probe, 680 .probe = xenfb_probe,
684 .remove = xenfb_remove, 681 .remove = xenfb_remove,
685 .resume = xenfb_resume, 682 .resume = xenfb_resume,
686 .otherend_changed = xenfb_backend_changed, 683 .otherend_changed = xenfb_backend_changed,
687}; 684);
688 685
689static int __init xenfb_init(void) 686static int __init xenfb_init(void)
690{ 687{