]> 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)
commitf39c1164096381650a9d89cec11b96df19c371d5
treefb2ebb2d39d71572d2694e48be4b1ebc31bb66a9
parent8db09bfedb71d94013e5590f2cd5bf083e250c4b
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