Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: aspeed: Add an explicit type casting for *get_clk_reg_val
This commit fixes this sparse warning: drivers/i2c/busses/i2c-aspeed.c:875:38: warning: incorrect type in assignment (different modifiers) drivers/i2c/busses/i2c-aspeed.c:875:38: expected unsigned int ( *get_clk_reg_val )( ... ) drivers/i2c/busses/i2c-aspeed.c:875:38: got void const *const data Reported-by: Wolfram Sang <[email protected]> Signed-off-by: Jae Hyun Yoo <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
- Loading branch information