KVM: vgic: declare probe function pointer as const
[deliverable/linux.git] / virt / kvm / arm / vgic.c
index d1cfe672b9d7b1d57b59e294424d6b35249681cf..efe6eee2e7ebefed3654f5e5568747311f518b97 100644 (file)
@@ -1557,8 +1557,8 @@ static const struct of_device_id vgic_ids[] = {
 int kvm_vgic_hyp_init(void)
 {
        const struct of_device_id *matched_id;
-       int (*vgic_probe)(struct device_node *,const struct vgic_ops **,
-                         const struct vgic_params **);
+       const int (*vgic_probe)(struct device_node *,const struct vgic_ops **,
+                               const struct vgic_params **);
        struct device_node *vgic_node;
        int ret;
 
This page took 0.024224 seconds and 5 git commands to generate.