summaryrefslogtreecommitdiff
path: root/include/key_matrix.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-19 02:09:53 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-01 13:03:16 (GMT)
commit8327d41b19af08a331c62954fafd685426e617f4 (patch)
treef1f90a29cb063d09639a20bc1491b931d9c017fc /include/key_matrix.h
parent2dd57f5e47f20a387770e4ca4adca5427f819fe6 (diff)
downloadu-boot-8327d41b19af08a331c62954fafd685426e617f4.tar.xz
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 <sjg@chromium.org>
Diffstat (limited to 'include/key_matrix.h')
-rw-r--r--include/key_matrix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/key_matrix.h b/include/key_matrix.h
index 8db6860..8dfa44d 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.