]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: opl4: Use IS_REACHABLE()
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2017 09:52:06 +0000 (11:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:13:05 +0000 (07:13 +0200)
commit8e2cef5101dce2ce61cddb6def641626a3bbb435
treefb2ebb2d39d71572d2694e48be4b1ebc31bb66a9
parentd8a197a3af79382c1e0717703f1474d5aaf47dbc
ALSA: opl4: Use IS_REACHABLE()

Rewrite the complex ifdef condition with IS_REACHABLE().
The ifdef in opl4_local.h was without defined(MODLE) check, but this
is likely the oversight.  Use IS_REACHABLE() here as well.

Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/opl4/opl4_lib.c
sound/drivers/opl4/opl4_local.h