compile: use __attribute__((fallthrough)) with GCC

Fix compiler warning by using the "fallthrough" attribute with GCC
as well.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2021-07-29 08:48:30 +02:00 committed by Liam Girdwood
parent 5a42c023d2
commit ceabf319e1
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
#define __section(x) __attribute__((section(x)))
#ifdef __clang__
#if defined(__clang__) || !defined(__XCC__)
#define COMPILER_FALLTHROUGH __attribute__((fallthrough))