[media] rc-core: convert winbond-cir
Move winbond-cir from drivers/input/misc/ into drivers/media/rc/ and convert it to use rc-core. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
		
					parent
					
						
							
								d8b4b5822f
							
						
					
				
			
			
				commit
				
					
						5b2e303f6d
					
				
			
		
					 5 changed files with 122 additions and 799 deletions
				
			
		|  | @ -294,24 +294,6 @@ config INPUT_SGI_BTNS | ||||||
| 	  To compile this driver as a module, choose M here: the | 	  To compile this driver as a module, choose M here: the | ||||||
| 	  module will be called sgi_btns. | 	  module will be called sgi_btns. | ||||||
| 
 | 
 | ||||||
| config INPUT_WINBOND_CIR |  | ||||||
| 	tristate "Winbond IR remote control" |  | ||||||
| 	depends on X86 && PNP |  | ||||||
| 	select NEW_LEDS |  | ||||||
| 	select LEDS_CLASS |  | ||||||
| 	select LEDS_TRIGGERS |  | ||||||
| 	select BITREVERSE |  | ||||||
| 	help |  | ||||||
| 	  Say Y here if you want to use the IR remote functionality found |  | ||||||
| 	  in some Winbond SuperI/O chips. Currently only the WPCD376I |  | ||||||
| 	  chip is supported (included in some Intel Media series motherboards). |  | ||||||
| 
 |  | ||||||
| 	  IR Receive and wake-on-IR from suspend and power-off is currently |  | ||||||
| 	  supported. |  | ||||||
| 
 |  | ||||||
| 	  To compile this driver as a module, choose M here: the module will be |  | ||||||
| 	  called winbond_cir. |  | ||||||
| 
 |  | ||||||
| config HP_SDC_RTC | config HP_SDC_RTC | ||||||
| 	tristate "HP SDC Real Time Clock" | 	tristate "HP SDC Real Time Clock" | ||||||
| 	depends on (GSC || HP300) && SERIO | 	depends on (GSC || HP300) && SERIO | ||||||
|  |  | ||||||
|  | @ -38,7 +38,6 @@ obj-$(CONFIG_INPUT_SPARCSPKR)		+= sparcspkr.o | ||||||
| obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON)	+= twl4030-pwrbutton.o | obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON)	+= twl4030-pwrbutton.o | ||||||
| obj-$(CONFIG_INPUT_TWL4030_VIBRA)	+= twl4030-vibra.o | obj-$(CONFIG_INPUT_TWL4030_VIBRA)	+= twl4030-vibra.o | ||||||
| obj-$(CONFIG_INPUT_UINPUT)		+= uinput.o | obj-$(CONFIG_INPUT_UINPUT)		+= uinput.o | ||||||
| obj-$(CONFIG_INPUT_WINBOND_CIR)		+= winbond-cir.o |  | ||||||
| obj-$(CONFIG_INPUT_WISTRON_BTNS)	+= wistron_btns.o | obj-$(CONFIG_INPUT_WISTRON_BTNS)	+= wistron_btns.o | ||||||
| obj-$(CONFIG_INPUT_WM831X_ON)		+= wm831x-on.o | obj-$(CONFIG_INPUT_WM831X_ON)		+= wm831x-on.o | ||||||
| obj-$(CONFIG_INPUT_YEALINK)		+= yealink.o | obj-$(CONFIG_INPUT_YEALINK)		+= yealink.o | ||||||
|  |  | ||||||
|  | @ -164,4 +164,21 @@ config IR_STREAMZAP | ||||||
| 	   To compile this driver as a module, choose M here: the | 	   To compile this driver as a module, choose M here: the | ||||||
| 	   module will be called streamzap. | 	   module will be called streamzap. | ||||||
| 
 | 
 | ||||||
|  | config IR_WINBOND_CIR | ||||||
|  |         tristate "Winbond IR remote control" | ||||||
|  |         depends on X86 && PNP | ||||||
|  | 	depends on IR_CORE | ||||||
|  |         select NEW_LEDS | ||||||
|  |         select LEDS_CLASS | ||||||
|  |         select LEDS_TRIGGERS | ||||||
|  |         select BITREVERSE | ||||||
|  | 	---help--- | ||||||
|  |            Say Y here if you want to use the IR remote functionality found | ||||||
|  |            in some Winbond SuperI/O chips. Currently only the WPCD376I | ||||||
|  |            chip is supported (included in some Intel Media series | ||||||
|  | 	   motherboards). | ||||||
|  | 
 | ||||||
|  |            To compile this driver as a module, choose M here: the module will | ||||||
|  | 	   be called winbond_cir. | ||||||
|  | 
 | ||||||
| endif #IR_CORE | endif #IR_CORE | ||||||
|  |  | ||||||
|  | @ -20,3 +20,4 @@ obj-$(CONFIG_IR_MCEUSB) += mceusb.o | ||||||
| obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o | obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o | ||||||
| obj-$(CONFIG_IR_ENE) += ene_ir.o | obj-$(CONFIG_IR_ENE) += ene_ir.o | ||||||
| obj-$(CONFIG_IR_STREAMZAP) += streamzap.o | obj-$(CONFIG_IR_STREAMZAP) += streamzap.o | ||||||
|  | obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Härdeman
				David Härdeman