mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
mhi: core: remove having compile option for CONFIG_OF flag
All new targets are compiled with devicetree support, no need to have compile option in driver. CRs-Fixed: 2258358 Change-Id: I722dcd2fd1d4b635ac7ec41f6a4dfc3479361bd4 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
This commit is contained in:
parent
af87342b86
commit
2a90a80663
@ -736,7 +736,6 @@ int mhi_device_configure(struct mhi_device *mhi_dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_OF)
|
||||
static int of_parse_ev_cfg(struct mhi_controller *mhi_cntrl,
|
||||
struct device_node *of_node)
|
||||
{
|
||||
@ -1046,13 +1045,6 @@ error_ev_cfg:
|
||||
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
static int of_parse_dt(struct mhi_controller *mhi_cntrl,
|
||||
struct device_node *of_node)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
|
||||
int of_register_mhi_controller(struct mhi_controller *mhi_cntrl)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user