diff options
author | Heiko Stuebner <heiko@sntech.de> | 2011-10-12 21:34:12 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-12 21:34:42 +0900 |
commit | f8c414b516e17328bb1ab359b273c76a2e665b68 (patch) | |
tree | 7e916616f02f27878386a6cd7fda41ce8f64ec18 /arch/arm/plat-samsung | |
parent | df303e0236417ca006e04116f18641dbe4bd704a (diff) | |
download | blackbird-op-linux-f8c414b516e17328bb1ab359b273c76a2e665b68.tar.gz blackbird-op-linux-f8c414b516e17328bb1ab359b273c76a2e665b68.zip |
ARM: SAMSUNG: Allow overriding of adc device name for S3C24XX
The adc blocks of S3C2443 and S3C2416 contain quirks not present
in the stock S3C24xx adc. Therefore allow them to alter the
device name via s3c_adc_setname.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/adc-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/adc-core.h b/arch/arm/plat-samsung/include/plat/adc-core.h index a281568d5856..a927bee55359 100644 --- a/arch/arm/plat-samsung/include/plat/adc-core.h +++ b/arch/arm/plat-samsung/include/plat/adc-core.h @@ -20,7 +20,7 @@ /* re-define device name depending on support. */ static inline void s3c_adc_setname(char *name) { -#ifdef CONFIG_SAMSUNG_DEV_ADC +#if defined(CONFIG_SAMSUNG_DEV_ADC) || defined(CONFIG_PLAT_S3C24XX) s3c_device_adc.name = name; #endif } |