diff options
author | Patil, Rachna <rachna@ti.com> | 2013-01-23 22:45:11 -0500 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-06-12 12:36:31 -0400 |
commit | 6f39ac4e20c6211c98e8d9da2d8c51100a77d1df (patch) | |
tree | 1de9e31d9f45ffd7d76ea4ffaf364d44e755c306 /drivers/mfd | |
parent | b9194fdfa6e729b97ffc59ae00dc9d51c7ae314d (diff) |
iio: ti_am335x_adc: Add DT support
Add DT support for client ADC driver.
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ti_am335x_tscadc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index f50976623a01..1d6c74049590 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c | |||
@@ -210,6 +210,7 @@ static int ti_tscadc_probe(struct platform_device *pdev) | |||
210 | /* ADC Cell */ | 210 | /* ADC Cell */ |
211 | cell = &tscadc->cells[ADC_CELL]; | 211 | cell = &tscadc->cells[ADC_CELL]; |
212 | cell->name = "tiadc"; | 212 | cell->name = "tiadc"; |
213 | cell->of_compatible = "ti,am3359-adc"; | ||
213 | cell->platform_data = &tscadc; | 214 | cell->platform_data = &tscadc; |
214 | cell->pdata_size = sizeof(tscadc); | 215 | cell->pdata_size = sizeof(tscadc); |
215 | 216 | ||