[alsa-devel] [PATCH 12/14] ASoC: Staticise keyclick dev_attr in tlv320aic26

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jul 29 12:42:33 CEST 2008


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Acked-by: Grant Likely <grant.likely at secretlab.ca>
---
 sound/soc/codecs/tlv320aic26.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c
index 73b7027..bed8a9e 100644
--- a/sound/soc/codecs/tlv320aic26.c
+++ b/sound/soc/codecs/tlv320aic26.c
@@ -418,7 +418,7 @@ static ssize_t aic26_keyclick_set(struct device *dev,
 	return count;
 }
 
-DEVICE_ATTR(keyclick, 0644, aic26_keyclick_show, aic26_keyclick_set);
+static DEVICE_ATTR(keyclick, 0644, aic26_keyclick_show, aic26_keyclick_set);
 
 /* ---------------------------------------------------------------------
  * SPI device portion of driver: probe and release routines and SPI
-- 
1.5.6.3



More information about the Alsa-devel mailing list