diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-11 09:10:28 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 11:27:00 -0400 |
commit | 7f65f74ccee15f6eb0009921a428e3c5d5d06ae0 (patch) | |
tree | b9bc90cc809e4367f9e65cb1d80b0b6c961ff525 /drivers | |
parent | 32df986e985921386b75b4bd1117102bf65fe095 (diff) |
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 <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/tps65910.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 553574da3611..18b30cf45e5b 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c | |||
@@ -196,8 +196,9 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, | |||
196 | return board_info; | 196 | return board_info; |
197 | } | 197 | } |
198 | #else | 198 | #else |
199 | static inline struct tps65910_board *tps65910_parse_dt( | 199 | static inline |
200 | struct i2c_client *client) | 200 | struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, |
201 | int *chip_id) | ||
201 | { | 202 | { |
202 | return NULL; | 203 | return NULL; |
203 | } | 204 | } |