diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-23 08:55:47 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 08:31:53 +0100 |
commit | 6fef0d4ea575c0561b38fd9149a05f1acb505bc0 (patch) | |
tree | 54e0c27e3a5e49e6a4c76cb4861d69ca09b1f5bd /drivers/mfd/twl4030-irq.c | |
parent | 4d3ec936f80dbb2174c8c1f426eb86c032e9f14e (diff) |
mfd: twl4030-irq: Fix incorrect type in assignment warning
Silences Sparse warning:
drivers/mfd/twl4030-irq.c:485:26: warning: incorrect type in assignment (different base types)
drivers/mfd/twl4030-irq.c:485:26: expected unsigned int [usertype] word
drivers/mfd/twl4030-irq.c:485:26: got restricted __le32 [usertype]
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kai Svahn <kai.svahn@nokia.com>
Cc: Syed Khasim <x0khasim@ti.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/twl4030-irq.c')
-rw-r--r-- | drivers/mfd/twl4030-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 910a304b397c..d05bc74daba3 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -477,7 +477,7 @@ static void twl4030_sih_bus_sync_unlock(struct irq_data *data) if (agent->imr_change_pending) { union { - u32 word; + __le32 word; u8 bytes[4]; } imr; |