From 8327d41b19af08a331c62954fafd685426e617f4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 May 2017 20:09:53 -0600 Subject: cros_ec: Update the cros_ec keyboard driver to livetree Update this driver and key_matrix to support a live device tree. Signed-off-by: Simon Glass --- include/key_matrix.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/key_matrix.h b/include/key_matrix.h index 8db686040d3..8dfa44de130 100644 --- a/include/key_matrix.h +++ b/include/key_matrix.h @@ -69,8 +69,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. -- cgit v1.3.1