ARM: OMAP2+: Fix OMAP_HDQ_BASE build error
authorTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 00:41:53 +0000 (16:41 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 00:41:53 +0000 (16:41 -0800)
If CONFIG_SOC_OMAP3430 is not set and CONFIG_HDQ_MASTER_OMAP
is selected for w1 driver we get the following error:

arch/arm/mach-omap2/devices.c:662:13: error:
'OMAP_HDQ_BASE' undeclared here (not in a function)

Looks like OMAP_HDQ_BASE is valid for all omaps except
2420, so we can remove the ifdef and not register
the device on 2420.

Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found