hw/vfio: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-22-git-send-email-peter.maydell@linaro.org
This commit is contained in:
		
							parent
							
								
									47df5154c3
								
							
						
					
					
						commit
						c6eacb1ac0
					
				| @ -11,6 +11,7 @@ | ||||
|  * | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/vfio/vfio-calxeda-xgmac.h" | ||||
| 
 | ||||
| static void calxeda_xgmac_realize(DeviceState *dev, Error **errp) | ||||
|  | ||||
| @ -18,6 +18,7 @@ | ||||
|  *  Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com) | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include <sys/ioctl.h> | ||||
| #include <sys/mman.h> | ||||
| #include <linux/vfio.h> | ||||
|  | ||||
| @ -10,6 +10,7 @@ | ||||
|  * the COPYING file in the top-level directory. | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include "pci.h" | ||||
| #include "trace.h" | ||||
| #include "qemu/range.h" | ||||
|  | ||||
| @ -18,14 +18,11 @@ | ||||
|  *  Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com) | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include <linux/vfio.h> | ||||
| #include <sys/ioctl.h> | ||||
| #include <sys/mman.h> | ||||
| #include <sys/stat.h> | ||||
| #include <sys/types.h> | ||||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "config.h" | ||||
| #include "hw/pci/msi.h" | ||||
| #include "hw/pci/msix.h" | ||||
| #include "hw/pci/pci_bridge.h" | ||||
|  | ||||
| @ -14,6 +14,7 @@ | ||||
|  *  Copyright Red Hat, Inc. 2012 | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include <sys/ioctl.h> | ||||
| #include <linux/vfio.h> | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Peter Maydell
						Peter Maydell