summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/nspire-keypad.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/nspire-keypad.c')
-rw-r--r--drivers/input/keyboard/nspire-keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/nspire-keypad.c b/drivers/input/keyboard/nspire-keypad.c
index e0a1339e40e..20d872d6f60 100644
--- a/drivers/input/keyboard/nspire-keypad.c
+++ b/drivers/input/keyboard/nspire-keypad.c
@@ -122,7 +122,7 @@ static int nspire_keypad_chip_init(struct nspire_keypad *keypad)
/* Enable interrupts */
keypad->int_mask = 1 << 1;
- writel(keypad->int_mask, keypad->reg_base + 0xc);
+ writel(keypad->int_mask, keypad->reg_base + KEYPAD_INTMSK);
/* Disable GPIO interrupts to prevent hanging on touchpad */
/* Possibly used to detect touchpad events */