mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
We want the size of the struct, not of a pointer to it. To be future
proof, just dereference the pointer to get the desired type.
Fixes: dd1aa2524b ("i2c: brcmstb: Add Broadcom settop SoC i2c controller driver")
Acked-by: Gregory Fong <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Reviewed-by: Kamal Dasu <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected]