Re: [PATCH v2 1/1] iommu/vt-d: Move intel_iommu_ops to header file

From: Andy Shevchenko
Date: Wed Feb 09 2022 - 07:13:45 EST


On Mon, Feb 07, 2022 at 04:12:40PM +0200, Andy Shevchenko wrote:
> Compiler is not happy about hidden declaration of intel_iommu_ops.
>
> .../iommu.c:414:24: warning: symbol 'intel_iommu_ops' was not declared. Should it be static?
>
> Move declaration to header file to make compiler happy.

Note, with this change we are closer to have a clean build with the
CONFIG_WERROR=y when `make W=1`.

--
With Best Regards,
Andy Shevchenko