X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fkey_matrix.h;h=519722f2d8f814ccf18b3ad1b999e9b7bc68f14c;hb=5fac11e6d5ab350429b8c8ddf47d3d3877ca89d1;hp=8db686040d393b0352c647cc5c77cfe5e9b65840;hpb=5b9c79a81db80c3f9e50c77477957cd803429af8;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/key_matrix.h b/include/key_matrix.h index 8db6860..519722f 100644 --- a/include/key_matrix.h +++ b/include/key_matrix.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Keyboard matrix helper functions * * Copyright (c) 2012 The Chromium OS Authors. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _KEY_MATRIX_H @@ -69,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.