mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
HV: fix vuart.c "Parameter needs to add const"
ACRN Coding guidelines requires parameters need to add const prefix when the parameter is not modified in its function or recursion function call. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
e4d1c321ad
commit
564a60120a
@@ -81,12 +81,12 @@ struct acrn_vuart {
|
||||
spinlock_t lock; /* protects all softc elements */
|
||||
};
|
||||
|
||||
void vuart_init(struct acrn_vm *vm, struct vuart_config *vu_config);
|
||||
void vuart_init(struct acrn_vm *vm, const struct vuart_config *vu_config);
|
||||
void vuart_deinit(struct acrn_vm *vm);
|
||||
|
||||
void vuart_putchar(struct acrn_vuart *vu, char ch);
|
||||
char vuart_getchar(struct acrn_vuart *vu);
|
||||
void vuart_toggle_intr(const struct acrn_vuart *vu);
|
||||
|
||||
bool is_vuart_intx(struct acrn_vm *vm, uint32_t intx_pin);
|
||||
bool is_vuart_intx(const struct acrn_vm *vm, uint32_t intx_pin);
|
||||
#endif /* VUART_H */
|
||||
|
Reference in New Issue
Block a user