diff options
author | Simon Glass | 2017-05-18 20:09:53 -0600 |
---|---|---|
committer | Simon Glass | 2017-06-01 07:03:16 -0600 |
commit | 8327d41b19af08a331c62954fafd685426e617f4 (patch) | |
tree | f1f90a29cb063d09639a20bc1491b931d9c017fc /include/key_matrix.h | |
parent | 2dd57f5e47f20a387770e4ca4adca5427f819fe6 (diff) |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
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. |