diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-06-22 22:17:43 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-05 04:39:30 -0400 |
commit | 1e8ece5cb85361ac01c95aecdfdbfa5f8b7242af (patch) | |
tree | db4490c09469dbdf87e7e6d6169a64519ad988c2 | |
parent | 8f2df0147fc78804a869150e6439be2605b5dc2d (diff) |
mfd: Fix build error for tps65911-comparator.c
Fix below build error:
CC drivers/mfd/tps65911-comparator.o
drivers/mfd/tps65911-comparator.c: In function 'tps65911_comparator_probe':
drivers/mfd/tps65911-comparator.c:131: error: 'struct tps65910_platform_data' has no member named 'vmbch_threshold'
drivers/mfd/tps65911-comparator.c:137: error: 'struct tps65910_platform_data' has no member named 'vmbch2_threshold'
make[2]: *** [drivers/mfd/tps65911-comparator.o] Error 1
make[1]: *** [drivers/mfd] Error 2
make: *** [drivers] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/tps65911-comparator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c index 3d2dc56a3d40..283ac6759757 100644 --- a/drivers/mfd/tps65911-comparator.c +++ b/drivers/mfd/tps65911-comparator.c | |||
@@ -125,7 +125,7 @@ static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL); | |||
125 | static __devinit int tps65911_comparator_probe(struct platform_device *pdev) | 125 | static __devinit int tps65911_comparator_probe(struct platform_device *pdev) |
126 | { | 126 | { |
127 | struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); | 127 | struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); |
128 | struct tps65910_platform_data *pdata = dev_get_platdata(tps65910->dev); | 128 | struct tps65910_board *pdata = dev_get_platdata(tps65910->dev); |
129 | int ret; | 129 | int ret; |
130 | 130 | ||
131 | ret = comp_threshold_set(tps65910, COMP1, pdata->vmbch_threshold); | 131 | ret = comp_threshold_set(tps65910, COMP1, pdata->vmbch_threshold); |