Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/mfd/twl4030-irq.c
··· 477 477 478 478 if (agent->imr_change_pending) { 479 479 union { 480 - u32 word; 480 + __le32 word; 481 481 u8 bytes[4]; 482 482 } imr; 483 483