X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fmisc%2Fali512x.c;h=d6a2c1f57752b9e25d02d89cf67eb0c633138d28;hb=e155c9e00b5f21a6de28479259c440ba71289d00;hp=7b7edc09af94c35fde778c47733bf12abb94d719;hpb=4985ca5af3767ffe13ea96e1dc26f88c81084414;p=oweals%2Fu-boot.git diff --git a/drivers/misc/ali512x.c b/drivers/misc/ali512x.c index 7b7edc09af..d6a2c1f577 100644 --- a/drivers/misc/ali512x.c +++ b/drivers/misc/ali512x.c @@ -32,8 +32,6 @@ #include -#ifdef CONFIG_ALI152X - #include #include #include @@ -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