Commit 7f65f74c authored by Samuel Ortiz's avatar Samuel Ortiz

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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 32df986e
...@@ -196,8 +196,9 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, ...@@ -196,8 +196,9 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
return board_info; return board_info;
} }
#else #else
static inline struct tps65910_board *tps65910_parse_dt( static inline
struct i2c_client *client) struct tps65910_board *tps65910_parse_dt(struct i2c_client *client,
int *chip_id)
{ {
return NULL; return NULL;
} }
......
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