dect
/
linux-2.6
Archived
13
0
Fork 0

arm: msm: smd: convert unsigned addr to unsigned long

"unsigned" translates to "unsigned int", but this value holds an
address. We always want to use unsigned long for addresses since
it will change size to fit the machine.

This just convert the one address holder to unsigned long.

Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
This commit is contained in:
Daniel Walker 2010-03-17 09:58:29 -07:00
parent bf83de4037
commit 1a86fbc167
1 changed files with 1 additions and 1 deletions

View File

@ -872,9 +872,9 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)
int smsm_change_state(enum smsm_state_item item,
uint32_t clear_mask, uint32_t set_mask)
{
unsigned long addr = smd_info.state + item * 4;
unsigned long flags;
unsigned state;
unsigned addr = smd_info.state + item * 4;
if (!smd_info.ready)
return -EIO;