diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-03-12 20:34:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-12 14:15:51 -0700 |
commit | 0f2d4f162f4f54b431420df23122901a6ccd641e (patch) | |
tree | 614e4b2476ca23b77df00d736647cdbf0b7f94e2 /include/sound | |
parent | ee68096826fa16bca2f7bb555b3e0cbbe798d330 (diff) | |
download | talos-obmc-linux-0f2d4f162f4f54b431420df23122901a6ccd641e.tar.gz talos-obmc-linux-0f2d4f162f4f54b431420df23122901a6ccd641e.zip |
ASoC: rt5651: move definitions of dt-binding constants to include/dt-bindings
Move the definitions of constants used in the dt-bindings from
include/sound/rt5651.h to include/dt-bindings/sound/rt5651.h.
As dt-bindings headers may also be parsed by the dt-compiler, they cannot
use enums, only defines, so this commit also changes the code declaring
the constants to use defines.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/rt5651.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h deleted file mode 100644 index 6403b862fb9a..000000000000 --- a/include/sound/rt5651.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * linux/sound/rt286.h -- Platform data for RT286 - * - * Copyright 2013 Realtek Microelectronics - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __LINUX_SND_RT5651_H -#define __LINUX_SND_RT5651_H - -/* - * Note these MUST match the values from the DT binding: - * Documentation/devicetree/bindings/sound/rt5651.txt - */ -enum rt5651_jd_src { - RT5651_JD_NULL, - RT5651_JD1_1, - RT5651_JD1_2, - RT5651_JD2, -}; - -/* - * Note these MUST match the values from the DT binding: - * Documentation/devicetree/bindings/sound/rt5651.txt - */ -enum rt5651_ovcd_sf { - RT5651_OVCD_SF_0P5, - RT5651_OVCD_SF_0P75, - RT5651_OVCD_SF_1P0, - RT5651_OVCD_SF_1P5, -}; - -#endif |