From 422f64451504c8683b8024732f4a94fbd063b345 Mon Sep 17 00:00:00 2001 From: Sujeev Dias Date: Tue, 9 May 2017 18:46:42 -0700 Subject: mhi: core: Bind devices with variable PCIe device IDs with same device node In order to bind devices with variable PCIe device IDs with same device tree node, make PCIe device ID optional parameter in device tree node. If PCIe device ID not specified in device tree, any device can be bind with the node. CRs-Fixed: 2040899 Change-Id: Iaedcb40db15fa0e8c5c30eb147c904a10cd7569d Signed-off-by: Sujeev Dias --- include/linux/msm_mhi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/msm_mhi.h b/include/linux/msm_mhi.h index e655f7397527..01fe2e78b9d5 100644 --- a/include/linux/msm_mhi.h +++ b/include/linux/msm_mhi.h @@ -81,6 +81,7 @@ enum MHI_CB_REASON { MHI_CB_MHI_SHUTDOWN, MHI_CB_SYS_ERROR, MHI_CB_RDDM, + MHI_CB_MHI_PROBED, }; enum MHI_FLAGS { @@ -119,6 +120,7 @@ struct mhi_client_handle { u32 domain; u32 bus; u32 slot; + bool enabled; struct mhi_client_config *client_config; }; -- cgit v1.2.3