From: Lars-Peter Clausen Date: Tue, 5 Jun 2012 16:16:31 +0000 (+0200) Subject: staging:iio:ad7606: Re-add missing scale attribute X-Git-Tag: v3.2.22~45 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3853ace1a3eeb934ab739704285a20598ef0644;p=pandora-kernel.git staging:iio:ad7606: Re-add missing scale attribute commit 279bf2e57c30c9a4482b2b6ede11b31c41e35e78 upstream. Commit 50ac23be ("staging:iio:adc:ad7606 add local define for chan_spec structures.") accidentally removed the scale info_mask flag. This patch adds it back again. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: - info_mask was completely gone rather than set to another flag - IIO_CHAN_INFO_SCALE_SHARED_BIT was not defined; write it out as a shift] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed