X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Finput%2Fpc_keyb.c;h=1606ab33ff413cfe351b9b2248ec2f69debaff56;hb=cacc342d5aa311673efdc05770cb53246dd41c9f;hp=81d3e989341e97b44260fd102bbc55e5268a0b31;hpb=6a40ef62c4300e9f606deef0a4618cbc4b514a51;p=oweals%2Fu-boot.git diff --git a/drivers/input/pc_keyb.c b/drivers/input/pc_keyb.c index 81d3e98934..1606ab33ff 100644 --- a/drivers/input/pc_keyb.c +++ b/drivers/input/pc_keyb.c @@ -3,7 +3,6 @@ * (C) Copyright 2004 * DENX Software Engineering * Wolfgang Denk, wd@denx.de - * All rights reserved. * * PS/2 keyboard driver * @@ -13,8 +12,6 @@ #include -#ifdef CONFIG_PS2KBD - #include #include @@ -64,7 +61,7 @@ static int kbd_read_data(void) int val; unsigned char status; - val=-1; + val = -1; status = kbd_read_status(); if (status & KBD_STAT_OBF) { val = kbd_read_input(); @@ -252,5 +249,3 @@ void pckbd_leds(unsigned char leds) kbd_send_data(KBD_CMD_SET_LEDS); kbd_send_data(leds); } - -#endif /* CONFIG_PS2KBD */