312x: adc is 4 channels
authorwdc <wdc@rock-chips.com>
Mon, 21 Jul 2014 07:18:55 +0000 (15:18 +0800)
committerwdc <wdc@rock-chips.com>
Mon, 21 Jul 2014 07:18:55 +0000 (15:18 +0800)
drivers/iio/adc/rockchip_adc.c

index c25aa5937f22944dbd2ef9b007edc1406378bf19..256f036da4a95882ec57c2739189f92fcca34e6f 100755 (executable)
@@ -190,6 +190,7 @@ static const struct iio_chan_spec rk_adc_iio_channels[] = {
        ADC_CHANNEL(0, "adc0"),
        ADC_CHANNEL(1, "adc1"),
        ADC_CHANNEL(2, "adc2"),
+       ADC_CHANNEL(3, "adc3"),
 };
 
 static int rk_adc_remove_devices(struct device *dev, void *c)