lkml.org 
[lkml]   [2011]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1] input: tegra-kbc: Fix build error.
On Fri, Jan 28, 2011 at 02:03:33PM -0800, riyer@nvidia.com wrote:
> From: Rakesh Iyer <riyer@nvidia.com>
>
> Fix build error introduced by variable name change.
>

Did I manage to pick up wrong version?

> Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
> ---
> drivers/input/keyboard/tegra-kbc.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c
> index 6ca903a..ac471b7 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)
> for (i = 0; i < KBC_MAX_GPIO; i++) {
> u32 r_shft = 5 * (i % 6);
> u32 c_shft = 4 * (i % 8);
> - u32 r_mask = 0x1f << r_shift;
> - u32 c_mask = 0x0f << c_shift;
> + u32 r_mask = 0x1f << r_shft;
> + u32 c_mask = 0x0f << c_shft;
> u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0;
> u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0;
> u32 row_cfg = readl(kbc->mmio + r_offs);
> --
> 1.7.0.4
>

--
Dmitry


\
 
 \ /
  Last update: 2011-01-28 23:13    [W:0.029 / U:2.168 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site