[U-Boot] [PATCH 2/4] ARM: davinci: Remove unused functions from header

Marek Vasut marex at denx.de
Mon Apr 29 08:25:22 UTC 2019


On 4/28/19 11:45 PM, Adam Ford wrote:
> There are a few functions defined in the header file, but they are
> not referenced by any Davinci code.  In order to make a general
> function in the future with static function declarations, this
> patch will remove the references all together.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> 
> diff --git a/arch/arm/mach-davinci/include/mach/da8xx-usb.h b/arch/arm/mach-davinci/include/mach/da8xx-usb.h
> index 42e1258225..215706e172 100644
> --- a/arch/arm/mach-davinci/include/mach/da8xx-usb.h
> +++ b/arch/arm/mach-davinci/include/mach/da8xx-usb.h
> @@ -86,7 +86,4 @@ struct da8xx_usb_regs {
>  
>  #define DA8XX_USB_VBUS_GPIO	(1 << 15)
>  
> -int usb_phy_on(void);
> -void usb_phy_off(void);
> -
>  #endif	/* __DA8XX_MUSB_H__ */
> 
Applied, thanks

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list