Comments
Patch
commit a17084ba43ba15d624f689b264c3e06054b5e017
Author: Sven Schnelle <svens@stackframe.org>
Date: Sun Jun 5 20:43:04 2011 +0200
T60: fix touchpad option
Code used 'int' as return type, but the cmos option is only one
bit. get_option returned with the value in bit 0-7, but all remaining
bits were left unitialized by get_option(). fix this by using char
as type.
Change-Id: I60e609164277380f936f66c99ef9508fa6a6b67c
Signed-off-by: Sven Schnelle <svens@stackframe.org>
@@ -39,7 +39,7 @@
static void mainboard_enable(device_t dev)
{
device_t dev0, idedev;
- int touchpad;
+ char touchpad;
/* enable Audio */
h8_set_audio_mute(0);