提交 dd1ef1a2 编写于 作者: B Ben Dooks

ARM: S5PV210: Fixup ADC device change

Ensure the ADC device is touched only if S3C_DEV_ADC
is selected.

Fixes:
arch/arm/mach-s5pv210/built-in.o: In function `s5pv210_map_io':
/home/kgene/bjdooks/arch/arm/mach-s5pv210/cpu.c:92: undefined reference to `s3c_device_adc'
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 3d5c1fdc
......@@ -76,7 +76,9 @@ static void s5pv210_idle(void)
void __init s5pv210_map_io(void)
{
#ifdef CONFIG_S3C_DEV_ADC
s3c_device_adc.name = "s3c64xx-adc";
#endif
iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册