On 2/14/2018 4:07 AM, Amit Kucheria wrote:
On Sat, Jan 13, 2018 at 6:35 AM, Karthikeyan Ramasubramanian
<krama...@codeaurora.org> wrote:
This driver manages the Generic Interface (GENI) firmware based Qualcomm
Universal Peripheral (QUP) Wrapper. GENI based QUP is the next generation
programmable module composed of multiple Serial Engines (SE) and supports
a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. This
driver also enables managing the serial interface independent aspects of
Serial Engines.

Signed-off-by: Karthikeyan Ramasubramanian <krama...@codeaurora.org>
Signed-off-by: Sagar Dharia <sdha...@codeaurora.org>
Signed-off-by: Girish Mahadevan <giri...@codeaurora.org>


+int geni_se_resources_off(struct geni_se_rsc *rsc)
+{
+       int ret = 0;
+       struct geni_se_device *geni_se_dev;
+
+       if (unlikely(!rsc || !rsc->wrapper_dev))
+               return -EINVAL;
+
+       geni_se_dev = dev_get_drvdata(rsc->wrapper_dev);
+       if (unlikely(!geni_se_dev))
+               return -ENODEV;
+
+       ret = pinctrl_select_state(rsc->geni_pinctrl, rsc->geni_gpio_sleep);

You need to include linux/pinctrl/consumer.h for devm_pinctrl_get

I couldn't compile test it w/o it.

I think marking the dependencies might help with this compilation issue. Else I will include the concerned header file. One way or the other, I will ensure that this issue does not get hit in my follow-up patch series.

Regards,
Karthik.

--
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to