[PATCH] extcon: Split out extcon header file for consumer and provider device

Yoshihiro Shimoda yoshihiro.shimoda.uh at renesas.com
Thu Sep 28 19:03:47 PDT 2017


Hi,

> From: Chanwoo Choi
> Sent: Friday, September 29, 2017 9:02 AM
> 
< snip >
>  drivers/phy/renesas/phy-rcar-gen3-usb2.c      |   2 +-
< snip >
>  drivers/usb/gadget/udc/renesas_usb3.c         |   2 +-

These two drivers need the modification.
But...

< snip >
> diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h
> index 8c5fc12ad778..a78764bc23eb 100644
> --- a/drivers/usb/renesas_usbhs/common.h
> +++ b/drivers/usb/renesas_usbhs/common.h
> @@ -17,7 +17,7 @@
>  #ifndef RENESAS_USB_DRIVER_H
>  #define RENESAS_USB_DRIVER_H
> 
> -#include <linux/extcon.h>
> +#include <linux/extcon-provider.h>

Since this driver doesn't use any extcon-provider APIs for now,
we doesn't need the modification, IIUC.

Best regards,
Yoshihiro Shimoda




More information about the Linux-rockchip mailing list