X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fkey_matrix.h;h=519722f2d8f814ccf18b3ad1b999e9b7bc68f14c;hb=f643fb9f4c8fc5c5dceb8c2c2893447d18413d77;hp=962971650ea10684cac49b6a5b84e8620e77b174;hpb=cae4a8a2a81ca6cd16d5de1b55d47e315cbff05a;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/key_matrix.h b/include/key_matrix.h index 9629716..519722f 100644 --- a/include/key_matrix.h +++ b/include/key_matrix.h @@ -1,24 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Keyboard matrix helper functions * * Copyright (c) 2012 The Chromium OS Authors. - * 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 */ #ifndef _KEY_MATRIX_H @@ -84,8 +68,7 @@ int key_matrix_decode(struct key_matrix *config, struct key_matrix_key *keys, * @param node Node containing compatible data * @return 0 if ok, -1 on error */ -int key_matrix_decode_fdt(struct key_matrix *config, const void *blob, - int node); +int key_matrix_decode_fdt(struct udevice *dev, struct key_matrix *config); /** * Set up a new key matrix.