OSDN Git Service

ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 25 Jul 2018 20:15:56 +0000 (15:15 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 26 Jul 2018 16:05:29 +0000 (17:05 +0100)
commit4cae99d9b5305ab8cccc839fccceb81ec9e5abda
treef4ea0e8bed960d9469085fa97df2630240310034
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally

Make this helper inline function available for all platforms. This
helps solve 0-day compilation issues when CONFIG_SND_DMA_SGBUF is not
defined.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/memalloc.h