summary refs log tree commit diff stats
path: root/include/hw/xen/xen-legacy-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/xen/xen-legacy-backend.h')
-rw-r--r--include/hw/xen/xen-legacy-backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legacy-backend.h
index 62623ecb30..e55a14057f 100644
--- a/include/hw/xen/xen-legacy-backend.h
+++ b/include/hw/xen/xen-legacy-backend.h
@@ -67,7 +67,7 @@ static inline void xen_be_unmap_grant_ref(struct XenLegacyDevice *xendev,
 }
 
 /* backend drivers not included in all machines */
-extern struct XenDevOps xen_framebuffer_ops;  /* xenfb.c */
+extern const struct XenDevOps xen_framebuffer_ops;  /* xenfb.c */
 
 /* configuration (aka xenbus setup) */
 void xen_config_cleanup(void);