ARM: S3C2410: Fix link if CONFIG_S3C2410_IOTIMING is not set
authorBen Dooks <ben-linux@fluff.org>
Wed, 14 Oct 2009 09:13:22 +0000 (10:13 +0100)
committerBen Dooks <ben-linux@fluff.org>
Wed, 28 Oct 2009 18:25:57 +0000 (18:25 +0000)
commit2e31de6511a47738974d6b48fdc60c4f82f80d24
tree1b9b966f863a688c0ef4538160cff7a719065a2c
parentf5fb9b1a15285fde54c6b70cf35d328333e5b519
ARM: S3C2410: Fix link if CONFIG_S3C2410_IOTIMING is not set

Fix the link errors if cpu-frequency support is enabled on s3c2410 systems
but there is no CONFIG_S3C2410_IOTIMING set. Fix this by ensuring the
relevant symbols are defined NULL if the code is not being built in.

Fixes the following error:
arch/arm/mach-s3c2410/built-in.o: undefined reference to `s3c2410_iotiming_get'
arch/arm/mach-s3c2410/built-in.o: undefined reference to `s3c2410_iotiming_set'
arch/arm/mach-s3c2410/built-in.o: undefined reference to `s3c2410_iotiming_calc'

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h