]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: line6: needs to select SND_PCM
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 27 Jul 2010 19:21:19 +0000 (12:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:30:40 +0000 (13:30 -0700)
commit e928c077e5cdcd72ee762125b37232aec1ff49f3 upstream.

line6 uses snd_pcm*() functions, so it should select SND_PCM.

ERROR: "snd_pcm_period_elapsed" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_set_ops" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_free_pages" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_ioctl" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_malloc_pages" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_hw_constraint_ratdens" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_format_physical_width" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_lib_preallocate_pages_for_all" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "snd_pcm_new" [drivers/staging/line6/line6usb.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/line6/Kconfig

index 7852d4a960c50fec42842826c209a135eb9dd71d..bc1ffbed3c8a30ae3421633f52a48826a8c3319d 100644 (file)
@@ -2,6 +2,7 @@ config LINE6_USB
        tristate "Line6 USB support"
        depends on USB && SND
        select SND_RAWMIDI
+       select SND_PCM
        help
          This is a driver for the guitar amp, cab, and effects modeller
          PODxt Pro by Line6 (and similar devices), supporting the