aboutsummaryrefslogtreecommitdiff
path: root/linux-core/intel_crt.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-20 14:51:22 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-20 14:51:22 +0200
commit3ef1d05001a9e28ed52536de7e020323d8d34d83 (patch)
tree360d1fb21e551b3758109ff0c920935b15eb31d1 /linux-core/intel_crt.c
parent65803e53a696347e38d7f6c2c8dc186c6764ff03 (diff)
modesetting-101: set_property should return an int, not a bool
Diffstat (limited to 'linux-core/intel_crt.c')
-rw-r--r--linux-core/intel_crt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/intel_crt.c b/linux-core/intel_crt.c
index 1b2b5b7e..8e1b833a 100644
--- a/linux-core/intel_crt.c
+++ b/linux-core/intel_crt.c
@@ -210,7 +210,7 @@ static int intel_crt_get_modes(struct drm_connector *connector)
return intel_ddc_get_modes(intel_output);
}
-static bool intel_crt_set_property(struct drm_connector *connector,
+static int intel_crt_set_property(struct drm_connector *connector,
struct drm_property *property,
uint64_t value)
{
@@ -219,7 +219,7 @@ static bool intel_crt_set_property(struct drm_connector *connector,
if (property == dev->mode_config.dpms_property && connector->encoder)
intel_crt_dpms(connector->encoder, (uint32_t)(value & 0xf));
- return true;
+ return 0;
}
/*