Skip to content

Commit

Permalink
mfd: Remove build time warning for WM835x register default tables
Browse files Browse the repository at this point in the history
Systems using the WM835x need to choose which of the default register
settings are required on the system.  Currently there is a compile time
warning as well as a runtime error intended to flag up to users that
this is required but this also triggers for people building the driver
in order to obtain build coverage.

Remove the build warning, leaving only the runtime error, in order to
reduce noise for people doing generic kernel work.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Dec 13, 2009
1 parent 0125350 commit d7f81c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/mfd/wm8350-regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -3170,14 +3170,6 @@ const u16 wm8352_mode3_defaults[] = {
};
#endif

/* The register defaults for the config mode used must be compiled in but
* due to the impact on kernel size it is possible to disable
*/
#ifndef WM8350_HAVE_CONFIG_MODE
#warning No WM8350 config modes supported - select at least one of the
#warning MFD_WM8350_CONFIG_MODE_n options from the board driver.
#endif

/*
* Access masks.
*/
Expand Down

0 comments on commit d7f81c4

Please sign in to comment.