X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fmisc%2Fali512x.c;h=39a2a6f8cb9bd1cd405f740c1d0ae0538aadb7b4;hb=cac423a730d3506154744485af1bbc1cd3a1e6a8;hp=7b7edc09af94c35fde778c47733bf12abb94d719;hpb=74ac5facb988fc488a707db228b177ead63a6541;p=u-boot diff --git a/drivers/misc/ali512x.c b/drivers/misc/ali512x.c index 7b7edc09af..39a2a6f8cb 100644 --- a/drivers/misc/ali512x.c +++ b/drivers/misc/ali512x.c @@ -1,6 +1,6 @@ /* * (C) Copyright 2002 - * Daniel Engström, Omicron Ceti AB . + * Daniel Engström, Omicron Ceti AB . * * See file CREDITS for list of people who contributed to this * project. @@ -32,11 +32,9 @@ #include -#ifdef CONFIG_ALI152X - #include #include -#include +#include /* ALI M5123 Logical device numbers: @@ -262,7 +260,7 @@ void ali512x_set_kbc(int enabled, u8 kbc_irq, u8 mouse_irq) * SIO reigster 3 (CIO Address Selection) bit definitions: * bit 7 CIO index and data registers enabled * bit 1-0 CIO indirect registers port address select - * 0 index = 0xE0 data = 0xE1 + * 0 index = 0xE0 data = 0xE1 * 1 index = 0xE2 data = 0xE3 * 2 index = 0xE4 data = 0xE5 * 3 index = 0xEA data = 0xEB @@ -418,6 +416,3 @@ int ali512x_cio_in(int pin) return data & bit; } - - -#endif