diff options
author | Andres Salomon <dilinger@queued.net> | 2010-09-24 19:14:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-29 18:02:44 -0700 |
commit | 316604bef6874bbd2a946fb39a7555b068c44c08 (patch) | |
tree | 745fb356bd690bf8e9ad72be802d36782c6c2945 | |
parent | eecb3e4e5d9d83ebe1bef222a707eb7618498b67 (diff) |
staging: olpc_dcon: switch back to using olpc_board(0xXX)
...Rather than macros that don't exist. Necessary for building the
driver.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/olpc_dcon/olpc_dcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 688cf0f6952..02a4502961d 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon.c +++ b/drivers/staging/olpc_dcon/olpc_dcon.c @@ -201,7 +201,7 @@ power_up: if (x < 0) { printk(KERN_ERR "olpc-dcon: unable to stabilize dcon's " "smbus, reasserting power and praying.\n"); - BUG_ON(olpc_board_at_least(olpc_board(BOARD_XO_1_C2))); + BUG_ON(olpc_board_at_least(olpc_board(0xc2))); x = 0; olpc_ec_cmd(0x26, (unsigned char *) &x, 1, NULL, 0); msleep(100); @@ -295,7 +295,7 @@ static void dcon_sleep(int state) if (state == dcon_sleep_val) return; - if (!olpc_board_at_least(olpc_board(BOARD_XO_1_C2))) + if (!olpc_board_at_least(olpc_board(0xc2))) return; if (state == DCON_SLEEP) { |