Skip to content

Commit

Permalink
ALSA: ASoC: Export DAI and codec for TLV320AIC26
Browse files Browse the repository at this point in the history
This fixes sparse warnings and allows non-OpenFirmware systems to attempt
to bind to the device.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Mark Brown authored and Jaroslav Kysela committed Jul 29, 2008
1 parent d8e3bb7 commit ecb0b3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/tlv320aic26.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ struct snd_soc_codec_device aic26_soc_codec_dev = {
.probe = aic26_probe,
.remove = aic26_remove,
};
EXPORT_SYMBOL_GPL(aic26_soc_codec_dev);

/* ---------------------------------------------------------------------
* SPI device portion of driver: sysfs files for debugging
Expand Down
3 changes: 3 additions & 0 deletions sound/soc/codecs/tlv320aic26.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,7 @@ enum aic26_wlen {
AIC26_WLEN_32 = 3 << 10,
};

extern struct snd_soc_dai aic26_dai;
extern struct snd_soc_codec_device aic26_soc_codec_dev;

#endif /* _TLV320AIC16_H_ */

0 comments on commit ecb0b3f

Please sign in to comment.