* linux-next: mfd tree build warning
@ 2009-11-24 5:42 Stephen Rothwell
2009-11-24 11:06 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2009-11-24 5:42 UTC (permalink / raw)
To: Samuel Ortiz; +Cc: linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
Hi Samuel,
I have been getting these warnings from the x86_64 allmodconfig build for
a long time:
drivers/mfd/wm8350-regmap.c:3177:2: warning: #warning No WM8350 config modes supported - select at least one of the
drivers/mfd/wm8350-regmap.c:3178:2: warning: #warning MFD_WM8350_CONFIG_MODE_n options from the board driver.
This may not be a problem, I just thought I should let you know.
--
Cheers,
Stephen Rothwell sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: mfd tree build warning
2009-11-24 5:42 linux-next: mfd tree build warning Stephen Rothwell
@ 2009-11-24 11:06 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2009-11-24 11:06 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Samuel Ortiz, linux-next, linux-kernel
On Tue, Nov 24, 2009 at 04:42:19PM +1100, Stephen Rothwell wrote:
> I have been getting these warnings from the x86_64 allmodconfig build for
> a long time:
> drivers/mfd/wm8350-regmap.c:3177:2: warning: #warning No WM8350 config modes supported - select at least one of the
> drivers/mfd/wm8350-regmap.c:3178:2: warning: #warning MFD_WM8350_CONFIG_MODE_n options from the board driver.
> This may not be a problem, I just thought I should let you know.
It's not a real problem. Any actual system using the driver will need
to have explicit code which registers the I2C device for the WM8350,
that code will need to set up the particular build for the board. The
build time warning is there to try to make it a bit more obvious what's
needed.
Allowing the driver to be built without one of these defined provides
build coverage which is helpful for subsystem maintainers.
I might send a patch taking away the compile time warning, I'm not sure
how likely it is that people will notice it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-24 11:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 5:42 linux-next: mfd tree build warning Stephen Rothwell
2009-11-24 11:06 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox