ASoC: rt5651: move definitions of dt-binding constants to include/dt-bindings
authorHans de Goede <hdegoede@redhat.com>
Mon, 12 Mar 2018 19:34:35 +0000 (20:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 12 Mar 2018 21:15:51 +0000 (14:15 -0700)
commit0f2d4f162f4f54b431420df23122901a6ccd641e
tree614e4b2476ca23b77df00d736647cdbf0b7f94e2
parentee68096826fa16bca2f7bb555b3e0cbbe798d330
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>
include/dt-bindings/sound/rt5651.h [new file with mode: 0644]
include/sound/rt5651.h [deleted file]
sound/soc/codecs/rt5651.h