go7007 - Add missing dependency on sound subsystem
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2008 12:52:16 +0000 (14:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2008 12:52:16 +0000 (14:52 +0200)
commit27dee52dfb7ecea26c8b70f652f54605b27252e9
tree374a0d4e0e2e077edd9c89fd5c72c651570a94f1
parent0cfd81031a26717fe14380d18275f8e217571615
go7007 - Add missing dependency on sound subsystem

The dependency on the sound system is missing for go7007 driver, which
resulted in missing symbols like
  drivers/built-in.o: In function `go7007_snd_remove':
  : undefined reference to `snd_card_disconnect'
  drivers/built-in.o: In function `go7007_snd_remove':
  : undefined reference to `snd_card_free_when_closed'
  ...

This patch adds the dependency on CONFIG_SND, and selects CONFIG_SND_PCM
properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Ingo Molnar <mingo@elte.hu>
Cc: Ross Cohen <rcohen@snurgle.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/go7007/Kconfig