From: Jason Gunthorpe <jgg@mellanox.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>,
Kishon Vijay Abraham I <kishon@ti.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: [PATCH] phy: ti: Fix compilation failures without REGMAP
Date: Mon, 7 Jan 2019 17:48:00 +0000 [thread overview]
Message-ID: <20190107174753.GA4051@ziepe.ca> (raw)
This driver requires regmap or the compile fails:
drivers/phy/ti/phy-gmii-sel.c:43:27: error: array type has incomplete element type ‘struct reg_field’
const struct reg_field (*regfields)[PHY_GMII_SEL_LAST];
Add it to kconfig.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
drivers/phy/ti/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
index f137e010776463..c4709ed7fb0e72 100644
--- a/drivers/phy/ti/Kconfig
+++ b/drivers/phy/ti/Kconfig
@@ -82,6 +82,7 @@ config PHY_TI_GMII_SEL
default y if TI_CPSW=y
depends on TI_CPSW || COMPILE_TEST
select GENERIC_PHY
+ select REGMAP
default m
help
This driver supports configuring of the TI CPSW Port mode depending on
--
2.20.1
next reply other threads:[~2019-01-07 17:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-07 17:48 Jason Gunthorpe [this message]
2019-01-07 18:13 ` [PATCH] phy: ti: Fix compilation failures without REGMAP Andrew Lunn
2019-01-07 18:17 ` Jason Gunthorpe
-- strict thread matches above, loose matches on Subject: below --
2019-01-07 17:54 Jason Gunthorpe
2019-01-07 19:23 ` David Miller
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=20190107174753.GA4051@ziepe.ca \
--to=jgg@mellanox.com \
--cc=grygorii.strashko@ti.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).