xtensa: clean up platform headers
Drop include directives for irrelevant headers in asm/platform.h and its users. Sort remaining headers. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
		
							parent
							
								
									7da04e4879
								
							
						
					
					
						commit
						e725331354
					
				| @ -12,8 +12,6 @@ | ||||
| #define _XTENSA_PLATFORM_H | ||||
| 
 | ||||
| #include <linux/types.h> | ||||
| #include <linux/pci.h> | ||||
| 
 | ||||
| #include <asm/bootparam.h> | ||||
| 
 | ||||
| /*
 | ||||
|  | ||||
| @ -12,12 +12,10 @@ | ||||
|  * Chris Zankel <chris@zankel.net> | ||||
|  */ | ||||
| 
 | ||||
| #include <linux/printk.h> | ||||
| #include <linux/types.h> | ||||
| #include <linux/pci.h> | ||||
| #include <linux/time.h> | ||||
| #include <asm/platform.h> | ||||
| #include <asm/timex.h> | ||||
| #include <asm/param.h>		/* HZ */ | ||||
| 
 | ||||
| #define _F(r,f,a,b)							\ | ||||
| 	r __platform_##f a b;                                   	\ | ||||
|  | ||||
| @ -11,23 +11,13 @@ | ||||
|  * Copyright 2001 - 2005 Tensilica Inc. | ||||
|  * Copyright 2017 Cadence Design Systems Inc. | ||||
|  */ | ||||
| #include <linux/memblock.h> | ||||
| #include <linux/stddef.h> | ||||
| #include <linux/kernel.h> | ||||
| #include <linux/init.h> | ||||
| #include <linux/errno.h> | ||||
| #include <linux/reboot.h> | ||||
| #include <linux/kdev_t.h> | ||||
| #include <linux/types.h> | ||||
| #include <linux/major.h> | ||||
| #include <linux/blkdev.h> | ||||
| #include <linux/console.h> | ||||
| #include <linux/delay.h> | ||||
| #include <linux/stringify.h> | ||||
| #include <linux/kernel.h> | ||||
| #include <linux/notifier.h> | ||||
| #include <linux/printk.h> | ||||
| #include <linux/string.h> | ||||
| 
 | ||||
| #include <asm/platform.h> | ||||
| #include <asm/bootparam.h> | ||||
| #include <asm/setup.h> | ||||
| 
 | ||||
| #include <platform/simcall.h> | ||||
|  | ||||
| @ -24,6 +24,7 @@ | ||||
| #include <linux/of.h> | ||||
| #include <linux/clk-provider.h> | ||||
| #include <linux/of_address.h> | ||||
| #include <linux/slab.h> | ||||
| 
 | ||||
| #include <asm/timex.h> | ||||
| #include <asm/processor.h> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user