mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
lib: remove uncessary #includes from headers
Only include what the header itself needs. The big fish here is intel-gpu-tools.h. More will follow. One ugly thing removed here is the duplicated GEN6_TD_CTL #define, one of which was broken. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -28,7 +28,6 @@
|
||||
#ifndef _INTEL_CHIPSET_H
|
||||
#define _INTEL_CHIPSET_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <pciaccess.h>
|
||||
|
||||
struct pci_device *intel_get_pci_device(void);
|
||||
@@ -36,6 +35,7 @@ uint32_t intel_get_drm_devid(int fd);
|
||||
int intel_gen(uint32_t devid);
|
||||
|
||||
extern enum pch_type intel_pch;
|
||||
|
||||
enum pch_type {
|
||||
PCH_NONE,
|
||||
PCH_IBX,
|
||||
|
||||
Reference in New Issue
Block a user