提交 84cf85ea 编写于 作者: L Laxman Dewangan 提交者: Thierry Reding

soc/tegra: pmc: Correct type of variable for tegra_pmc_readl()

The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: NJon Hunter <jonathanh@nvidia.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 6c0bd217
......@@ -942,10 +942,10 @@ static int tegra_io_rail_prepare(unsigned int id, unsigned long *request,
return 0;
}
static int tegra_io_rail_poll(unsigned long offset, unsigned long mask,
unsigned long val, unsigned long timeout)
static int tegra_io_rail_poll(unsigned long offset, u32 mask,
u32 val, unsigned long timeout)
{
unsigned long value;
u32 value;
timeout = jiffies + msecs_to_jiffies(timeout);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册