Commit b174015b authored by Lee Jones's avatar Lee Jones

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: default avatarLee Jones <lee.jones@linaro.org>
parent 6fef0d4e
...@@ -561,7 +561,7 @@ static inline int sih_read_isr(const struct sih *sih) ...@@ -561,7 +561,7 @@ static inline int sih_read_isr(const struct sih *sih)
int status; int status;
union { union {
u8 bytes[4]; u8 bytes[4];
u32 word; __le32 word;
} isr; } isr;
/* FIXME need retry-on-error ... */ /* FIXME need retry-on-error ... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment