]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: s3c64xx: Annotate external clock frequencies __ro_after_init
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 10 Dec 2016 13:47:35 +0000 (15:47 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 29 Dec 2016 13:40:29 +0000 (15:40 +0200)
commit552146b0c20d8265f7c570251c86fc4ec44959ee
treea1b8e34fa300a0ceb61650411d243bcaea7c726d
parentf3c7bfd738803915787bc8a6db663faa599e29f8
ARM: s3c64xx: Annotate external clock frequencies __ro_after_init

The xtal_f and xusbxti_f static variables are modified only through
__init accessors (like s3c64xx_set_xtal_freq()).  Later these variables
are used only in read-only way so we can mark them __ro_after_init to
increase code safeness.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/mach-s3c64xx/common.c