25 Apr
2008
25 Apr
'08
9:28 a.m.
At Fri, 25 Apr 2008 11:17:07 +0200, Daniel Mack wrote:
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 630684f..87e5040 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c @@ -51,6 +51,8 @@ #define AUDIO_NAME "aic3x" #define AIC3X_VERSION "0.1"
+#define ABS(x) (((x) >= 0) ? (x) : -(x))
We already have a standard abs() in linux/kernel.h.
thanks,
Takashi