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)
commite3a98fe11b296b833ac540fbc19f407c790fdc05
treebbb5ca74ca4df7002487e5a80353c0cfc1cc0eb5
parentb2a5124e596e51619e4fbf72fde5baf84538285d
ARM: OMAP2+: Fix OMAP_HDQ_BASE build error

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>
arch/arm/mach-omap2/devices.c