None of these files are actually using any __init type directives and hence don't need to include <linux/init.h>. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver to the next. [ hpa: undid incorrect removal from arch/x86/kernel/head_32.S ] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Link: http://lkml.kernel.org/r/1389054026-12947-1-git-send-email-paul.gortmaker@windriver.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			437 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			437 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#include <linux/kernel.h>
 | 
						|
#include <asm/processor.h>
 | 
						|
#include "cpu.h"
 | 
						|
 | 
						|
/*
 | 
						|
 * UMC chips appear to be only either 386 or 486,
 | 
						|
 * so no special init takes place.
 | 
						|
 */
 | 
						|
 | 
						|
static const struct cpu_dev umc_cpu_dev = {
 | 
						|
	.c_vendor	= "UMC",
 | 
						|
	.c_ident	= { "UMC UMC UMC" },
 | 
						|
	.legacy_models	= {
 | 
						|
		{ .family = 4, .model_names =
 | 
						|
		  {
 | 
						|
			  [1] = "U5D",
 | 
						|
			  [2] = "U5S",
 | 
						|
		  }
 | 
						|
		},
 | 
						|
	},
 | 
						|
	.c_x86_vendor	= X86_VENDOR_UMC,
 | 
						|
};
 | 
						|
 | 
						|
cpu_dev_register(umc_cpu_dev);
 | 
						|
 |