lkml.org 
[lkml]   [2021]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] phy: tegra: xusb: mark PM functions as __maybe_unused
On 21-07-21, 17:25, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> When these are not referenced, gcc prints a harmless warning:
>
> drivers/phy/tegra/xusb.c:1286:12: error: 'tegra_xusb_padctl_resume_noirq' defined but not used [-Werror=unused-function]
> 1286 | static int tegra_xusb_padctl_resume_noirq(struct device *dev)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/phy/tegra/xusb.c:1276:12: error: 'tegra_xusb_padctl_suspend_noirq' defined but not used [-Werror=unused-function]
> 1276 | static int tegra_xusb_padctl_suspend_noirq(struct device *dev)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>

Applied, thanks

--
~Vinod

\
 
 \ /
  Last update: 2021-07-22 19:36    [W:0.254 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site