diff options
author | Mark Brown <broonie@kernel.org> | 2015-08-10 15:02:53 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-10 15:27:16 +0300 |
commit | 3f6175ece947358e988af149ecca0d31100ee6c4 (patch) | |
tree | 6083c014f07fcfa0955d2056c6869566b455f070 /sound/pci/echoaudio/mia.c | |
parent | 96bab82f6ba3c4e116ee89989b3854dde6c0cd2d (diff) | |
download | linux-3f6175ece947358e988af149ecca0d31100ee6c4.tar.xz |
ALSA: echoaudio: Use standard C definitions of true and false
The echoaudio locally defines TRUE and FALSE. Not only is this
redundant given that C now has a boolean type it results in lots of
warnings as other headers also define these macros, causing duplicate
definitions. Fix this by removing the local defines and converting all
local users to use the standard C true and false instead, simply
removing the macros is less safe due to implicit inclusion of the other
definitons.
[fixed overlooked replacement of FALSE by tiwai]
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/echoaudio/mia.c')
-rw-r--r-- | sound/pci/echoaudio/mia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/echoaudio/mia.c b/sound/pci/echoaudio/mia.c index 2f7562f1aefb..62b5240f53b9 100644 --- a/sound/pci/echoaudio/mia.c +++ b/sound/pci/echoaudio/mia.c @@ -26,7 +26,7 @@ #define ECHOCARD_HAS_VMIXER #define ECHOCARD_HAS_DIGITAL_IO #define ECHOCARD_HAS_EXTERNAL_CLOCK -#define ECHOCARD_HAS_ADAT FALSE +#define ECHOCARD_HAS_ADAT false #define ECHOCARD_HAS_STEREO_BIG_ENDIAN32 #define ECHOCARD_HAS_MIDI #define ECHOCARD_HAS_LINE_OUT_GAIN |