From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org, Mayulong <mayulong1@huawei.com>,
linux-kernel@vger.kernel.org, Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH v7 01/14] staging: hikey9xx: spmi driver: convert to regmap
Date: Fri, 29 Jan 2021 20:44:12 +0100 [thread overview]
Message-ID: <20210129204412.25e912a6@coco.lan> (raw)
In-Reply-To: <YBQth03ENuTIp1Rb@kroah.com>
Em Fri, 29 Jan 2021 16:45:11 +0100
Greg Kroah-Hartman <gregkh@linuxfoundation.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@kernel.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
next prev parent reply other threads:[~2021-01-29 19:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 15:03 [PATCH v7 00/14] Move Hisilicon 6421v600 SPMI and USB drivers out of staging Mauro Carvalho Chehab
2021-01-29 15:03 ` [PATCH v7 14/14] dts: hisilicon: add support for the PMIC found on Hikey 970 Mauro Carvalho Chehab
[not found] ` <8148fe6afb24f91efba22f66472b227aab2ace70.1611932194.git.mchehab+huawei@kernel.org>
[not found] ` <YBQth03ENuTIp1Rb@kroah.com>
2021-01-29 19:44 ` Mauro Carvalho Chehab [this message]
[not found] ` <810f286cade454acda418b9e5f39bb3a595e871a.1611932194.git.mchehab+huawei@kernel.org>
2021-02-04 8:03 ` [PATCH v7 10/14] phy: phy-hi3670-usb3: move driver from staging into phy Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210129204412.25e912a6@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mayulong1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.