]> git.baikalelectronics.ru Git - kernel.git/commit
sound: oss: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 14 May 2015 11:12:59 +0000 (16:42 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 May 2015 08:27:17 +0000 (10:27 +0200)
commit3f3ab1fe066dcadfd1d42dfc695f56f56c80fa5c
tree41e1406cdc5f956631d4c23b633522a2c904f0d6
parent04a16c880c6423a1ed5734e72219f73b8e109d9c
sound: oss: fix build warning

while building with allyesconfig it was giving a build warning about
unused variable. declare the variable only if the driver is built as a
module.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/ad1848.c