Include file style cleanup, no functional change

This commit is contained in:
Alexander von Gluck IV
2011-12-09 21:26:41 -06:00
parent 9147ed0fd6
commit 61cf713381
17 changed files with 67 additions and 49 deletions
@@ -9,6 +9,9 @@
#define _VIDEO_CONFIGURATION_H
#include <SupportDefs.h>
// Video connector types
#define VIDEO_CONNECTOR_UNKNOWN 0x00
#define VIDEO_CONNECTOR_VGA 0x01
@@ -7,9 +7,18 @@
* Alexander von Gluck, [email protected]
*/
#include "accelerant.h"
#include <AGP.h>
#include <Debug.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "connector.h"
@@ -18,17 +27,6 @@
#include "pll.h"
#include "utility.h"
#include <Debug.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <syslog.h>
#include <AGP.h>
#undef TRACE
@@ -10,15 +10,14 @@
#define RADEON_HD_ACCELERANT_H
#include <ByteOrder.h>
#include <edid.h>
#include "atom.h"
#include "encoder.h"
#include "mode.h"
#include "radeon_hd.h"
#include "pll.h"
#include <ByteOrder.h>
#include <edid.h>
#include "radeon_hd.h"
#define MAX_DISPLAY 2
@@ -11,6 +11,7 @@
#include <Accelerant.h>
#include "video_overlay.h"
@@ -28,9 +28,10 @@
#include "atombios.h"
#include "ObjectID.h"
#include <ByteOrder.h>
#include <kernel/OS.h>
#include <String.h>
#include <SupportDefs.h>
#include <ByteOrder.h>
struct card_info {
+2 -2
View File
@@ -7,10 +7,10 @@
*/
#include <Debug.h>
#include "bios.h"
#include <Debug.h>
#include "accelerant.h"
#include "accelerant_protos.h"
@@ -7,15 +7,17 @@
*/
#include "connector.h"
#include <Debug.h>
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "connector.h"
#include "encoder.h"
#include "gpu.h"
#include "utility.h"
#include <Debug.h>
#undef TRACE
@@ -11,6 +11,8 @@
#include <video_configuration.h>
#include "accelerant.h"
// From the VESA DisplayPort spec
// TODO: may want to move these into common code
@@ -12,15 +12,17 @@
*/
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "connector.h"
#include "display.h"
#include <stdlib.h>
#include <string.h>
#include "accelerant.h"
#include "accelerant_protos.h"
#include "bios.h"
#include "connector.h"
#include "encoder.h"
#define TRACE_DISPLAY
#ifdef TRACE_DISPLAY
@@ -11,6 +11,8 @@
#include <video_configuration.h>
#include "accelerant.h"
status_t init_registers(register_info* reg, uint8 crtid);
status_t detect_crt_ranges(uint32 crtid);
@@ -7,17 +7,19 @@
*/
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "display.h"
#include "utility.h"
#include "encoder.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "accelerant.h"
#include "accelerant_protos.h"
#include "bios.h"
#include "display.h"
#include "utility.h"
#define TRACE_ENCODER
#ifdef TRACE_ENCODER
@@ -9,6 +9,9 @@
#define RADEON_HD_ENCODER_H
#include <SupportDefs.h>
void encoder_assign_crtc(uint8 crtID);
void encoder_apply_quirks(uint8 crtcID);
void encoder_mode_set(uint8 id, uint32 pixelClock);
+4 -3
View File
@@ -8,14 +8,15 @@
*/
#include "gpu.h"
#include <Debug.h>
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "gpu.h"
#include "utility.h"
#include <Debug.h>
#undef TRACE
+1 -1
View File
@@ -8,8 +8,8 @@
*/
#include "accelerant_protos.h"
#include "accelerant.h"
#include "accelerant_protos.h"
extern "C" void *
+8 -7
View File
@@ -11,19 +11,20 @@
*/
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "utility.h"
#include "mode.h"
#include "display.h"
#include "pll.h"
#include <create_display_modes.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <create_display_modes.h>
#include "accelerant.h"
#include "accelerant_protos.h"
#include "bios.h"
#include "display.h"
#include "encoder.h"
#include "pll.h"
#include "utility.h"
#define TRACE_MODE
+6 -5
View File
@@ -7,11 +7,6 @@
*/
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "display.h"
#include "utility.h"
#include "pll.h"
#include <stdio.h>
@@ -19,6 +14,12 @@
#include <string.h>
#include <math.h>
#include "accelerant_protos.h"
#include "accelerant.h"
#include "bios.h"
#include "display.h"
#include "encoder.h"
#include "utility.h"
#define TRACE_PLL
#ifdef TRACE_PLL
+1 -1
View File
@@ -9,7 +9,7 @@
#define RADEON_HD_PLL_H
#include "accelerant.h"
#include <SupportDefs.h>
#define MAX_TOLERANCE 10