Re: [PATCH] iommu: omap: mark pm functions __maybe_unused

2019-09-06 Thread Arnd Bergmann
On Fri, Sep 6, 2019 at 5:24 PM Suman Anna wrote: > > Hi Arnd, > > On 9/6/19 10:15 AM, Arnd Bergmann wrote: > > The runtime_pm functions are unused when CONFIG_PM is disabled: > > > > drivers/iommu/omap-iommu.c:1022:12: error: unused function > > 'omap_iommu_runtime_suspend' [-Werror,-Wunused-func

Re: [PATCH] iommu: omap: mark pm functions __maybe_unused

2019-09-06 Thread Joerg Roedel
On Fri, Sep 06, 2019 at 05:15:38PM +0200, Arnd Bergmann wrote: > drivers/iommu/omap-iommu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks Arnd.

Re: [PATCH] iommu: omap: mark pm functions __maybe_unused

2019-09-06 Thread Suman Anna
Hi Arnd, On 9/6/19 10:15 AM, Arnd Bergmann wrote: > The runtime_pm functions are unused when CONFIG_PM is disabled: > > drivers/iommu/omap-iommu.c:1022:12: error: unused function > 'omap_iommu_runtime_suspend' [-Werror,-Wunused-function] > static int omap_iommu_runtime_suspend(struct device *dev