s/TRUE/true
authorDave Airlie <airlied@linux.ie>
Fri, 21 Dec 2007 08:38:55 +0000 (18:38 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 21 Dec 2007 08:38:55 +0000 (18:38 +1000)
linux-core/drm_crtc.c
linux-core/intel_display.c

index fef2700..bb89cb1 100644 (file)
@@ -356,7 +356,7 @@ void drm_crtc_probe_single_output_modes(struct drm_output *output, int maxX, int
        }
        
        
-       drm_mode_prune_invalid(dev, &output->modes, TRUE);
+       drm_mode_prune_invalid(dev, &output->modes, true);
        
        if (list_empty(&output->modes)) {
                struct drm_display_mode *stdmode;
@@ -510,7 +510,7 @@ bool drm_crtc_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
        
        /* XXX free adjustedmode */
        drm_mode_destroy(dev, adjusted_mode);
-       ret = TRUE;
+       ret = true;
        /* TODO */
 //     if (scrn->pScreen)
 //             drm_crtc_set_screen_sub_pixel_order(dev);
index a81cfe6..8a6ce44 100644 (file)
@@ -461,7 +461,7 @@ static void intel_crtc_dpms(struct drm_crtc *crtc, int mode)
                intel_crtc_load_lut(crtc);
                
                /* Give the overlay scaler a chance to enable if it's on this pipe */
-               //intel_crtc_dpms_video(crtc, TRUE); TODO
+               //intel_crtc_dpms_video(crtc, true); TODO
        break;
        case DPMSModeOff:
                /* Give the overlay scaler a chance to disable if it's on this pipe */
@@ -699,19 +699,19 @@ static void intel_crtc_mode_set(struct drm_crtc *crtc,
 
                switch (intel_output->type) {
                case INTEL_OUTPUT_LVDS:
-                       is_lvds = TRUE;
+                       is_lvds = true;
                        break;
                case INTEL_OUTPUT_SDVO:
-                       is_sdvo = TRUE;
+                       is_sdvo = true;
                        break;
                case INTEL_OUTPUT_DVO:
-                       is_dvo = TRUE;
+                       is_dvo = true;
                        break;
                case INTEL_OUTPUT_TVOUT:
-                       is_tv = TRUE;
+                       is_tv = true;
                        break;
                case INTEL_OUTPUT_ANALOG:
-                       is_crt = TRUE;
+                       is_crt = true;
                        break;
                }
        }