diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-23 09:01:07 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 08:31:53 +0100 |
commit | b174015b1ddd0a7009acaf6aa7019e9883b0f75b (patch) | |
tree | e568e3ad1c77d65f1170643b518235ada78600e6 /drivers/mfd | |
parent | 6fef0d4ea575c0561b38fd9149a05f1acb505bc0 (diff) | |
download | lwn-b174015b1ddd0a7009acaf6aa7019e9883b0f75b.tar.gz lwn-b174015b1ddd0a7009acaf6aa7019e9883b0f75b.zip |
mfd: twl4030-irq: Fix cast to restricted __le32 warning
Silences Sparse warning(s):
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
drivers/mfd/twl4030-irq.c:573:40: warning: cast to restricted __le32
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')
-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 d05bc74daba3..ab417438d1fa 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -561,7 +561,7 @@ static inline int sih_read_isr(const struct sih *sih) int status; union { u8 bytes[4]; - u32 word; + __le32 word; } isr; /* FIXME need retry-on-error ... */ |