mfd: Fix tps65910 build failure
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 11 May 2012 13:10:28 +0000 (15:10 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:00 +0000 (17:27 +0200)
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>
drivers/mfd/tps65910.c

index 553574da361117bcfbffacb75351f1b4ac8b9a8e..18b30cf45e5b2b82196414dcdbca73ed6d698db7 100644 (file)
@@ -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;
 }
This page took 0.025875 seconds and 5 git commands to generate.