diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-03-17 12:58:29 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 12:19:03 -0400 |
commit | 1a86fbc167fdf8ac387a52d49782d7a5bc1d9ac9 (patch) | |
tree | ca3c0b9703c62b6685546409a619ff4245150966 /arch/arm | |
parent | bf83de4037780b11b27f1e32e33c1e8e7e42602e (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-msm/smd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c index 130b7a72bea1..2e32d9ab3609 100644 --- a/arch/arm/mach-msm/smd.c +++ b/arch/arm/mach-msm/smd.c | |||
@@ -872,9 +872,9 @@ static irqreturn_t smsm_irq_handler(int irq, void *data) | |||
872 | int smsm_change_state(enum smsm_state_item item, | 872 | int smsm_change_state(enum smsm_state_item item, |
873 | uint32_t clear_mask, uint32_t set_mask) | 873 | uint32_t clear_mask, uint32_t set_mask) |
874 | { | 874 | { |
875 | unsigned long addr = smd_info.state + item * 4; | ||
875 | unsigned long flags; | 876 | unsigned long flags; |
876 | unsigned state; | 877 | unsigned state; |
877 | unsigned addr = smd_info.state + item * 4; | ||
878 | 878 | ||
879 | if (!smd_info.ready) | 879 | if (!smd_info.ready) |
880 | return -EIO; | 880 | return -EIO; |