]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/input/tegra-kbc.c
ahci: Use sizeof(fis) instead of hardcoding '20'
[karo-tx-uboot.git] / drivers / input / tegra-kbc.c
index 9a309421f04f91a01e3f10e8a9b75d1d72024142..ab7a9e33ee0bf86e1539bc8e90a2b250d13c8f36 100644 (file)
@@ -30,7 +30,7 @@
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/funcmux.h>
-#include <asm/arch/timer.h>
+#include <asm/arch-tegra/timer.h>
 #include <linux/input.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -325,7 +325,7 @@ static int init_tegra_keyboard(void)
                        KBC_REPEAT_RATE_MS);
 
        /* Decode the keyboard matrix information (16 rows, 8 columns) */
-       if (key_matrix_init(&config.matrix, 16, 8)) {
+       if (key_matrix_init(&config.matrix, 16, 8, 1)) {
                debug("%s: Could not init key matrix\n", __func__);
                return -1;
        }