mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw: Make class data 'const'
When the %data argument is not modified, we can declare it const. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250210133134.90879-8-philmd@linaro.org>
This commit is contained in:
parent
d31f1185fb
commit
788369f477
4 changed files with 4 additions and 4 deletions
|
@ -322,6 +322,6 @@ void sdhci_initfn(SDHCIState *s);
|
|||
void sdhci_uninitfn(SDHCIState *s);
|
||||
void sdhci_common_realize(SDHCIState *s, Error **errp);
|
||||
void sdhci_common_unrealize(SDHCIState *s);
|
||||
void sdhci_common_class_init(ObjectClass *klass, void *data);
|
||||
void sdhci_common_class_init(ObjectClass *klass, const void *data);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue