mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Condense these updates down to SPDX tags too while doing this. This is a port of a1452a3771c4eb85bd779790b040efdc36f4274e from the Linux Kernel. Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			575 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			575 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * MTD device concatenation layer definitions
 | 
						|
 *
 | 
						|
 * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.de>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef MTD_CONCAT_H
 | 
						|
#define MTD_CONCAT_H
 | 
						|
 | 
						|
struct mtd_info *mtd_concat_create(
 | 
						|
    struct mtd_info *subdev[],  /* subdevices to concatenate */
 | 
						|
    int num_devs,               /* number of subdevices      */
 | 
						|
#ifndef __UBOOT__
 | 
						|
    const char *name);          /* name for the new device   */
 | 
						|
#else
 | 
						|
    char *name);          /* name for the new device   */
 | 
						|
#endif
 | 
						|
 | 
						|
void mtd_concat_destroy(struct mtd_info *mtd);
 | 
						|
 | 
						|
#endif
 |