diff options
-rw-r--r-- | drivers/hwmon/pmbus/ibm-cffps.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/ibm-cffps.c b/drivers/hwmon/pmbus/ibm-cffps.c index de2547476253..2d6f4f41e736 100644 --- a/drivers/hwmon/pmbus/ibm-cffps.c +++ b/drivers/hwmon/pmbus/ibm-cffps.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/jiffies.h> | 15 | #include <linux/jiffies.h> |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/mutex.h> | 17 | #include <linux/mutex.h> |
18 | #include <linux/pmbus.h> | ||
18 | 19 | ||
19 | #include "pmbus.h" | 20 | #include "pmbus.h" |
20 | 21 | ||
@@ -268,6 +269,10 @@ static struct pmbus_driver_info ibm_cffps_info = { | |||
268 | .read_word_data = ibm_cffps_read_word_data, | 269 | .read_word_data = ibm_cffps_read_word_data, |
269 | }; | 270 | }; |
270 | 271 | ||
272 | static struct pmbus_platform_data ibm_cffps_pdata = { | ||
273 | .flags = PMBUS_SKIP_STATUS_CHECK, | ||
274 | }; | ||
275 | |||
271 | static int ibm_cffps_probe(struct i2c_client *client, | 276 | static int ibm_cffps_probe(struct i2c_client *client, |
272 | const struct i2c_device_id *id) | 277 | const struct i2c_device_id *id) |
273 | { | 278 | { |
@@ -276,6 +281,7 @@ static int ibm_cffps_probe(struct i2c_client *client, | |||
276 | struct dentry *ibm_cffps_dir; | 281 | struct dentry *ibm_cffps_dir; |
277 | struct ibm_cffps *psu; | 282 | struct ibm_cffps *psu; |
278 | 283 | ||
284 | client->dev.platform_data = &ibm_cffps_pdata; | ||
279 | rc = pmbus_do_probe(client, id, &ibm_cffps_info); | 285 | rc = pmbus_do_probe(client, id, &ibm_cffps_info); |
280 | if (rc) | 286 | if (rc) |
281 | return rc; | 287 | return rc; |