mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	Move the definition of struct ast_ddc to ast_ddc.c and return the i2c adapter from ast_ddc_create(). Update callers accordingly. Avoids including Linux i2c header files, except where required. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240403103325.30457-4-tzimmermann@suse.de
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			189 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			189 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: MIT */
 | 
						|
 | 
						|
#ifndef __AST_DDC_H__
 | 
						|
#define __AST_DDC_H__
 | 
						|
 | 
						|
struct ast_device;
 | 
						|
struct i2c_adapter;
 | 
						|
 | 
						|
struct i2c_adapter *ast_ddc_create(struct ast_device *ast);
 | 
						|
 | 
						|
#endif
 |