On Wed, Jul 23, 2008 at 01:43:02PM -0400, Jon Smirl wrote:
Convert bitfields in ASOC into full int width. This is a simple mechanical conversion. Two places in the DAPM code were fixed to properly use mask.
CHECK sound/soc/soc-core.c include/sound/soc.h:71:4: error: Expected ; end of type declaration include/sound/soc.h:71:4: error: got . sound/soc/soc-core.c:295:6: error: undefined identifier 'SND_SOC_BIAS_PREPARE' sound/soc/soc-core.c:308:6: error: undefined identifier 'SND_SOC_BIAS_STANDBY' sound/soc/soc-core.c:369:7: error: undefined identifier 'SND_SOC_BIAS_STANDBY' sound/soc/soc-core.c:441:28: error: undefined identifier 'SND_SOC_BIAS_ON' sound/soc/soc-core.c:444:11: error: undefined identifier 'SND_SOC_BIAS_PREPARE' sound/soc/soc-core.c:455:40: error: undefined identifier 'SND_SOC_BIAS_ON' CC sound/soc/soc-core.o In file included from sound/soc/soc-core.c:34: include/sound/soc.h:71: error: expected identifier or ‘(’ before ‘.’ token include/sound/soc.h:71: error: expected identifier or ‘(’ before ‘}’ token
The fix was trivial enough so I've made and applied it (and done some brief testing of my own) - please be more careful in future.