Blob Blame History Raw
From: Takashi Iwai <tiwai@suse.de>
Subject: kABI workaround for snd-soc-rt5682-*
Patch-mainline: Never, kABI workaround
References: git-fixes

Move the new field in rt582_priv to the tail for keeping kABI
compatibility.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 sound/soc/codecs/rt5682.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/sound/soc/codecs/rt5682.h
+++ b/sound/soc/codecs/rt5682.h
@@ -1428,7 +1428,6 @@ enum {
 
 struct rt5682_priv {
 	struct snd_soc_component *component;
-	struct device *i2c_dev;
 	struct rt5682_platform_data pdata;
 	struct regmap *regmap;
 	struct regmap *sdw_regmap;
@@ -1463,6 +1462,9 @@ struct rt5682_priv {
 
 	int jack_type;
 	int irq_work_delay_time;
+#ifndef __GENKSYMS__
+	struct device *i2c_dev;
+#endif
 };
 
 extern const char *rt5682_supply_names[RT5682_NUM_SUPPLIES];