summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-11-25 17:01:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-11-25 17:01:36 +0900
commite962827ef2472e3de54416e939c9a194b5e86962 (patch)
treecadd3af2c2d4560bcc6f78d87fd196630c79e3c4
parenta04fd1c53640cb35555325fe273352ec263e32ac (diff)
ecore drm - comment out unused code to reduce warnings
several brightness functions in ecore drm are unused - comment them out until they are needed.
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index fe984cc1dc..53ff904f6e 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -151,6 +151,7 @@ _ecore_drm_output_mode_add(Ecore_Drm_Output *output, drmModeModeInfo *info)
151 return mode; 151 return mode;
152} 152}
153 153
154/* XXX: this code is currently unused comment out until needed
154static double 155static double
155_ecore_drm_output_brightness_get(Ecore_Drm_Backlight *backlight) 156_ecore_drm_output_brightness_get(Ecore_Drm_Backlight *backlight)
156{ 157{
@@ -220,6 +221,7 @@ _ecore_drm_output_brightness_set(Ecore_Drm_Backlight *backlight, double brightne
220 221
221 return ret; 222 return ret;
222} 223}
224*/
223 225
224static Ecore_Drm_Backlight * 226static Ecore_Drm_Backlight *
225_ecore_drm_output_backlight_init(Ecore_Drm_Output *output EINA_UNUSED, uint32_t conn_type) 227_ecore_drm_output_backlight_init(Ecore_Drm_Output *output EINA_UNUSED, uint32_t conn_type)