X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Finput%2Finput.c;h=007b85524aafa9703e4053ef86406adccd2137c6;hb=8d607604c1dbe8e695279e0c0c9617de98c3e498;hp=98006679b30f28cb8b48f8a0ca6ef1d096925a38;hpb=44abe47debc783396ec48d929844dcf1106b72f3;p=karo-tx-uboot.git diff --git a/drivers/input/input.c b/drivers/input/input.c index 98006679b3..007b85524a 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -4,23 +4,7 @@ * Copyright (c) 2011 The Chromium OS Authors. * (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, wd@denx.de * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -110,7 +94,7 @@ static struct { /* Maximum number of output characters that an ANSI sequence expands to */ #define ANSI_CHAR_MAX 3 -int input_queue_ascii(struct input_config *config, int ch) +static int input_queue_ascii(struct input_config *config, int ch) { if (config->fifo_in + 1 == INPUT_BUFFER_LEN) { if (!config->fifo_out)