diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-16 13:58:43 -0800 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-11-16 13:58:43 -0800 |
commit | e0ab2034c3d87b9a1bbd86bfccd806793ce7c5b4 (patch) | |
tree | 7da39ac3f7cf75f5e6a6646479b78ac4f11d1415 | |
parent | 96e136c4794f9f57e18c1f984a27bbad4b5e1500 (diff) |
Fix connection status ABI
Userspace expects a 1 based enum for connection status so fix up the kernel
definition.
-rw-r--r-- | linux-core/drm_crtc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h index 0ddefc86..0645dd6a 100644 --- a/linux-core/drm_crtc.h +++ b/linux-core/drm_crtc.h @@ -148,9 +148,9 @@ struct drm_display_mode { #define DPMSModeOff 3 enum drm_output_status { - output_status_connected, - output_status_disconnected, - output_status_unknown, + output_status_connected = 1, + output_status_disconnected = 2, + output_status_unknown = 3, }; enum subpixel_order { |