Re: [PATCH v4 09/13] pinctrl: meson: Rename REG_* to MESON_REG_*

From: Andy Shevchenko
Date: Mon Apr 11 2022 - 06:24:52 EST


On Mon, Apr 11, 2022 at 11:04:00AM +0200, Geert Uytterhoeven wrote:
> On Fri, Apr 1, 2022 at 12:36 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > Currently compilation test fails on x86 due to name collision. The usual
> > way to fix that is to move both conflicting parts to their own namespaces.
> >
> > Rename REG_* to MESON_REG_* as a prerequisite for enabling COMPILE_TEST.

> > NUM_REG,
>
> MESON_NUM_REG?

Hmm... Only one place where it's defined and used, but I can do it, sure.

$ git grep -n -w NUM_REG
drivers/pinctrl/meson/pinctrl-meson.h:72: NUM_REG,
drivers/pinctrl/meson/pinctrl-meson.h:105: struct meson_reg_desc regs[NUM_REG];

--
With Best Regards,
Andy Shevchenko