aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRakesh Iyer <riyer@nvidia.com>2011-01-29 01:05:14 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-01-29 01:31:53 -0500
commit7530c4a197f3dd63f1381c1cdf93e4d2b8429ef5 (patch)
treecdc07812969ee3a294ff506e6cce859d162afefc /drivers
parent409550f2902470f0387fe40a7db441526e16b2c0 (diff)
Input: tegra-kbc - fix build error
Fix build error introduced by variable name change. Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/keyboard/tegra-kbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c
index 939476659ad6..3d3d649be9bc 100644
--- a/drivers/input/keyboard/tegra-kbc.c
+++ b/drivers/input/keyboard/tegra-kbc.c
@@ -355,8 +355,8 @@ static void tegra_kbc_config_pins(struct tegra_kbc *kbc)
355 for (i = 0; i < KBC_MAX_GPIO; i++) { 355 for (i = 0; i < KBC_MAX_GPIO; i++) {
356 u32 r_shft = 5 * (i % 6); 356 u32 r_shft = 5 * (i % 6);
357 u32 c_shft = 4 * (i % 8); 357 u32 c_shft = 4 * (i % 8);
358 u32 r_mask = 0x1f << r_shift; 358 u32 r_mask = 0x1f << r_shft;
359 u32 c_mask = 0x0f << c_shift; 359 u32 c_mask = 0x0f << c_shft;
360 u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0; 360 u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0;
361 u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0; 361 u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0;
362 u32 row_cfg = readl(kbc->mmio + r_offs); 362 u32 row_cfg = readl(kbc->mmio + r_offs);