diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-19 14:47:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-20 19:06:30 +0100 |
commit | 0574eab363ace70ef275d4caad6eadc458d33728 (patch) | |
tree | 873051cb245a4c45cdcea794b00dc5300a5c8784 /mm/swapfile.c | |
parent | a9843112b49af71f98c3953625555517f4a748bd (diff) | |
download | talos-op-linux-0574eab363ace70ef275d4caad6eadc458d33728.tar.gz talos-op-linux-0574eab363ace70ef275d4caad6eadc458d33728.zip |
ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency, again
I tried to fix this before and submitted a working patch, but after
some discussion we came up with what seemed to be a nicer solution,
resulting in commit 3d4cf65e2d ("ASoC: omap: fix up
SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency"). Unfortunately, that
version was incomplete, and we still get this build error:
drivers/clk/clk-palmas.c:46:16: error: field 'hw' has incomplete type
drivers/clk/clk-palmas.c: In function 'to_palmas_clks_info':
drivers/clk/clk-palmas.c:54:74: warning: initialization from incompatible pointer type [-Winc
This happens only in randconfig builds that turn on MFD_PALMAS
on a platform other than OMAP2+ when COMPILE_TEST is set
but COMMON_CLK is not.
The new approach is only 'select COMMON_CLK_PALMAS' if we know
that we are on an OMAP5 platform and MFD_PALMAS is already set.
This patch has survived thousands of randconfig builds and I
don't see a remaining hole in the logic.
Fixes: 3d4cf65e2d ("ASoC: omap: fix up SND_OMAP_SOC_OMAP_ABE_TWL6040 dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions