mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mfd: Fix tps65910 build failure
The tps65910_parse_dt() prototype for !CONFIG_OF was not correct, leading to: drivers/mfd/tps65910.c: In function ‘tps65910_i2c_probe’: drivers/mfd/tps65910.c:218:3: error: too many arguments to function ‘tps65910_parse_dt’ Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
32df986e98
commit
7f65f74cce
1 changed files with 3 additions and 2 deletions
|
|
@ -196,8 +196,9 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
|
|||
return board_info;
|
||||
}
|
||||
#else
|
||||
static inline struct tps65910_board *tps65910_parse_dt(
|
||||
struct i2c_client *client)
|
||||
static inline
|
||||
struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
|
||||
int *chip_id)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue