mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
HV: add const qualifier for the deinit vdev op functions
This is to fix the following misra c violation: Pointer param should be declared pointer to const. : vdev Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -86,7 +86,7 @@ int32_t vdev_hostbridge_init(struct pci_vdev *vdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t vdev_hostbridge_deinit(__unused struct pci_vdev *vdev)
|
||||
int32_t vdev_hostbridge_deinit(__unused const struct pci_vdev *vdev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user