summaryrefslogtreecommitdiff
path: root/drivers/staging/olpc_dcon/olpc_dcon.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-06 23:28:39 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 20:11:54 (GMT)
commitbb4103544e455e11d9a4379326406a60429b9888 (patch)
tree9ee1fd3de8a25beb8a7ca9a31796a33c97007e83 /drivers/staging/olpc_dcon/olpc_dcon.h
parent8d2d3dd1b4589299ec17b15130fbadfc69996df4 (diff)
downloadlinux-bb4103544e455e11d9a4379326406a60429b9888.tar.xz
staging: olpc_dcon: change sysfs 'output' toggle to be clearer...
..and store it in dcon_priv. This renames it to 'monochrome', which I think is much clearer. Previously, "echo 1 > output" toggled mono mode, while "echo 0 > output" enabled color. "Echo 1 > monochrome" makes more sense to me. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/olpc_dcon/olpc_dcon.h')
-rw-r--r--drivers/staging/olpc_dcon/olpc_dcon.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h b/drivers/staging/olpc_dcon/olpc_dcon.h
index e566d21..77dcbd1 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.h
+++ b/drivers/staging/olpc_dcon/olpc_dcon.h
@@ -41,10 +41,6 @@
#define DCON_SOURCE_DCON 0
#define DCON_SOURCE_CPU 1
-/* Output values */
-#define DCON_OUTPUT_COLOR 0
-#define DCON_OUTPUT_MONO 1
-
/* Sleep values */
#define DCON_ACTIVE 0
#define DCON_SLEEP 1