From: Ben Dooks Date: Fri, 21 Nov 2008 10:36:06 +0000 (+0000) Subject: [ARM] S3C: Fix scaler1 clock rate information X-Git-Tag: v2.6.29-rc1~559^2~9^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2dbcf9faad074c52a941d01fc21eea3c95ca33;p=pandora-kernel.git [ARM] S3C: Fix scaler1 clock rate information The pwm-scaler0 and pwm-scaler1 clocks have their .id field set to -1 as they are not referenced to any specific device. However, parts of the pwm-clock code used the .id field to identify which scaler clock was being used. Fix the problem by comparing against the pointer to the clock to identify the scalers. Signed-off-by: Ben Dooks --- Reading git-diff-tree failed