soc: qcom: hab: clean the compilation issues
This fixes the hab compilation issues found when CONFIG_GHS_VMM is enabled. Change-Id: Ie4b6aca5f0a7f549273d939dd6069e55db7877c4 Signed-off-by: Yong Ding <yongding@codeaurora.org>
This commit is contained in:
parent
333c319df3
commit
3a1f559efa
2 changed files with 1 additions and 4 deletions
|
@ -129,7 +129,7 @@ void physical_channel_rx_dispatch(unsigned long physical_channel)
|
||||||
/* no more pending msg */
|
/* no more pending msg */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
pr_error("recv unhandled result %d, size %zd\n",
|
pr_err("recv unhandled result %d, size %zd\n",
|
||||||
result, dev->read_size);
|
result, dev->read_size);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,9 +184,6 @@ int habhyp_commdev_dealloc(void *commdev)
|
||||||
struct ghs_vdev *dev = pchan->hyp_data;
|
struct ghs_vdev *dev = pchan->hyp_data;
|
||||||
|
|
||||||
kgipc_endpoint_free(dev->endpoint);
|
kgipc_endpoint_free(dev->endpoint);
|
||||||
|
|
||||||
spin_lock_destroy(&dev->io_lock);
|
|
||||||
|
|
||||||
kfree(dev->read_data);
|
kfree(dev->read_data);
|
||||||
kfree(dev);
|
kfree(dev);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue