ASoC: Intel: bytcht_es8316: fix compilation warning
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 19 Apr 2019 20:12:16 +0000 (15:12 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 25 Apr 2019 19:23:03 +0000 (20:23 +0100)
commit1fb1e93a1dc7c9673917a8081e144f48bde46495
tree87db47a4070b2ed88ac64bf7988676900b248e58
parent812ad463e0894d78e93ab8017e0edbe69038c55c
ASoC: Intel: bytcht_es8316: fix compilation warning

Remove warning below, align with other machine drivers.

bytcht_es8316.c:508:11: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]

   quirk = (int)dmi_id->driver_data;
           ^
Fixes: a8d218f4fe811 ('ASoC: Intel: bytcht_es8316: Add quirk for the Teclast X98+ II')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_es8316.c