[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210129204412.25e912a6@coco.lan>
Date: Fri, 29 Jan 2021 20:44:12 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: devel@...verdev.osuosl.org, Mayulong <mayulong1@...wei.com>,
linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH v7 01/14] staging: hikey9xx: spmi driver: convert to
regmap
Em Fri, 29 Jan 2021 16:45:11 +0100
Greg Kroah-Hartman <gregkh@...uxfoundation.org> escreveu:
> On Fri, Jan 29, 2021 at 04:03:36PM +0100, Mauro Carvalho Chehab wrote:
> > Instead of doing its own SPMI I/O implementation, use the
> > already-existing regmap one.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
> > ---
> > drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 115 ++++++------------
> > .../staging/hikey9xx/hi6421v600-regulator.c | 26 ++--
> > include/linux/mfd/hi6421-spmi-pmic.h | 7 +-
> > 3 files changed, 52 insertions(+), 96 deletions(-)
>
> After applying this, I get a build failure:
>
> ERROR: modpost: "__devm_regmap_init_spmi_ext" [drivers/staging/hikey9xx/hi6421-spmi-pmic.ko] undefined!
>
> So you need some sort of build dependancy here :(
It seems that it is missing REGMAP_SPMI.
> Also, when I apply the first 9 patches and stop, I get a build error
> that you should see as well, so I can't take any of these right now,
> sorry.
Gah, there was a rename patch which a hunk that went into the
following patch. Sorry.
Added the missing select REGMAP_SPMI / REGMAP, fixed it and
tested, patch-per-patch.
I'll run a new test at the hardware to double-check if everything is
OK at the hardware and should be re-submitting the series soon enough.
Thanks,
Mauro
Powered by blists - more mailing lists