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:
Daniel Vetter
2014-03-22 20:07:35 +01:00
parent cd6d5a61b3
commit 6cfcd71589
47 changed files with 59 additions and 18 deletions
+1 -1
View File
@@ -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,