X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fkey_matrix.h;h=519722f2d8f814ccf18b3ad1b999e9b7bc68f14c;hb=HEAD;hp=8db686040d393b0352c647cc5c77cfe5e9b65840;hpb=c2120fbfbc4d1f6953228f86be8bdbf38bacfdab;p=u-boot diff --git a/include/key_matrix.h b/include/key_matrix.h index 8db686040d..519722f2d8 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.