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)
commit108c5df14a5fcc4a5470df2de091c48d54a553a3
tree41e1406cdc5f956631d4c23b633522a2c904f0d6
parent785d8c4be82b45d10ff0d5cebfddadb1e1f6ae15
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