[PATCH] video: s3c2410fb: Register cpufreq notifier only on S3C24xx

From
Tomi Valkeinen <hidden>
Date
2016-08-10 10:40:13
Also in
linux-samsung-soc
Reply to
Krzysztof Kozlowski, 2016-06-27

On 27/06/16 15:52, Krzysztof Kozlowski wrote:
The driver registered for CPU frequency transitions to recalculate its
clock when ARM clock frequency changes (ratio between frequencies of
ARM's parent clock (fclk) and clock for peripherals remains fixed).

This is needed only on S3C24xx platform when cpufreq driver is enabled
so limit the ifdef to respective cpufreq Kconfig.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/video/fbdev/s3c2410fb.c | 2 +-
 drivers/video/fbdev/s3c2410fb.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, queued for v4.9.

 Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160810/8d0941c3/attachment-0001.sig>
Thread (2 messages) 2 messages, 2 authors, last reply 2016-08-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help