kernel: fix duplicate drivers for the PC speaker in one package
Only use the ALSA capable one, it supports regular beeps as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		@@ -259,12 +259,10 @@ define KernelPackage/pcspkr
 | 
				
			|||||||
  DEPENDS:=@TARGET_x86 +kmod-input-core
 | 
					  DEPENDS:=@TARGET_x86 +kmod-input-core
 | 
				
			||||||
  TITLE:=PC speaker support
 | 
					  TITLE:=PC speaker support
 | 
				
			||||||
  KCONFIG:= \
 | 
					  KCONFIG:= \
 | 
				
			||||||
	CONFIG_INPUT_PCSPKR \
 | 
					 | 
				
			||||||
	CONFIG_SND_PCSP
 | 
						CONFIG_SND_PCSP
 | 
				
			||||||
  FILES:= \
 | 
					  FILES:= \
 | 
				
			||||||
	$(LINUX_DIR)/drivers/input/misc/pcspkr.ko \
 | 
					 | 
				
			||||||
	$(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
 | 
						$(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
 | 
				
			||||||
  AUTOLOAD:=$(call AutoLoad,50,pcspkr snd-pcsp)
 | 
					  AUTOLOAD:=$(call AutoLoad,50,snd-pcsp)
 | 
				
			||||||
  $(call AddDepends/sound)
 | 
					  $(call AddDepends/sound)
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user