modules/usb: another cleanup: remove ancient module names
authorJohn Crispin <john@openwrt.org>
Sat, 23 May 2015 15:28:32 +0000 (15:28 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 23 May 2015 15:28:32 +0000 (15:28 +0000)
modules relating to CONFIG_USB_AUDIO
Kernel <2.6.35 is not supported in trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45734

package/kernel/linux/modules/usb.mk

index f3c84e6f107972531bc9b1c480707e75645e37c8..5219da9c60e347541eba18c524cfa55be8e332fb 100644 (file)
@@ -551,18 +551,10 @@ define KernelPackage/usb-audio
        CONFIG_SND_USB_AUDIO
   $(call AddDepends/usb)
   $(call AddDepends/sound)
-# For Linux 2.6.35+
-ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
   FILES:= \
        $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
        $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
   AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
-else
-  FILES:= \
-       $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
-       $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
-  AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
-endif
 endef
 
 define KernelPackage/usb-audio/description