mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/xen: Make XenDevOps structures const
Keep XenDevOps structures in .rodata. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20240510104908.76908-5-philmd@linaro.org>
This commit is contained in:
parent
19c2d53c02
commit
d76795ea3d
4 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue