]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: bunch up bit field for snd_soc_dai
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Oct 2016 05:25:19 +0000 (05:25 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 15:11:42 +0000 (16:11 +0100)
We can reduce struct size in certain environment.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h

index 964b7de1a1cc2ebd8cd58fe16487cc631caf9f71..d0ae96b615ad97f6b72cacc33b3a3912c5839a70 100644 (file)
@@ -268,8 +268,9 @@ struct snd_soc_dai {
        unsigned int symmetric_rates:1;
        unsigned int symmetric_channels:1;
        unsigned int symmetric_samplebits:1;
+       unsigned int probed:1;
+
        unsigned int active;
-       unsigned char probed:1;
 
        struct snd_soc_dapm_widget *playback_widget;
        struct snd_soc_dapm_widget *capture_widget;