audio: deprecate -soundhw adlib
Switch to deprecated_register_soundhw(). Remove the now obsolete init function. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200702132525.6849-7-kraxel@redhat.com
This commit is contained in:
		
							parent
							
								
									0e933febfe
								
							
						
					
					
						commit
						86388a3bfc
					
				| @ -319,16 +319,10 @@ static const TypeInfo adlib_info = { | ||||
|     .class_init    = adlib_class_initfn, | ||||
| }; | ||||
| 
 | ||||
| static int Adlib_init (ISABus *bus) | ||||
| { | ||||
|     isa_create_simple (bus, TYPE_ADLIB); | ||||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| static void adlib_register_types (void) | ||||
| { | ||||
|     type_register_static (&adlib_info); | ||||
|     isa_register_soundhw("adlib", ADLIB_DESC, Adlib_init); | ||||
|     deprecated_register_soundhw("adlib", ADLIB_DESC, 1, TYPE_ADLIB); | ||||
| } | ||||
| 
 | ||||
| type_init (adlib_register_types) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Gerd Hoffmann
						Gerd Hoffmann