[PATCH v2 04/10] pinctrl: intel: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Wed Jul 19 03:37:31 PDT 2023
On Tue, 18 Jul 2023 16:53:29 +0300
Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
> On Tue, Jul 18, 2023 at 11:04:51AM +0100, Jonathan Cameron wrote:
> > On Mon, 17 Jul 2023 20:28:15 +0300
> > Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
>
> ...
>
> > > EXPORT_SYMBOL_GPL(intel_pinctrl_resume_noirq);
> >
> > Can you check if this is successfully removed? I think it won't be.
> > Not immediately obvious how to tidy that up given these are used
> > in a macro called from lots of drivers.
>
> That's what Paul noticed I think with his proposal to export only the ops
> variable and make these to be static.
>
> > Maybe just leaving the ifdef is best we can do here.
>
> See above.
>
Ah. I noticed it was a macro, but not that all it did was
set the name of the resulting structure (so thought you couldn't
use the export approach).
Indeed that's the best option here
Jonathan
More information about the linux-arm-kernel
mailing list