aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2014-03-05 17:53:31 +0100
committerMark Brown <[email protected]>2014-03-06 12:31:39 +0800
commit9c369c6e885599818d98ff7130d6ef62ce6ae8d4 (patch)
treeea185fa7d07a127d69de5a0ec2f8535e20e415aa /net/lapb/lapb_out.c
parentd6cf89ee07cbfd980f189cc12ae924c811b00ee4 (diff)
ASoC: cs4271: Fix build error without CONFIG_SPI_MASTER
cs4271_common_probe() is called from cs4271_i2c_probe() but defined in CONFIG_SPI_MASTER block, thus it results in a build error when CONFIG_SPI_MASTER=n: sound/soc/codecs/cs4271.c:721:2: error: implicit declaration of function ‘cs4271_common_probe’ [-Werror=implicit-function-declaration] Move the function out of #if block. Fixes: d6cf89ee07cb ('ASoC: cs4271: claim reset GPIO in bus probe function') Signed-off-by: Takashi Iwai <[email protected]> Acked-by: Daniel Mack <[email protected]> Acked-by: Brian Austin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions