ARM: OMAP3: Fix omap3_l3_block_irq warning when CONFIG_BUG is not set
authorTony Lindgren <tony@atomide.com>
Wed, 6 Jun 2012 08:42:20 +0000 (01:42 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Jun 2012 08:42:20 +0000 (01:42 -0700)
commit00d6bfaf20e723e3f4c9aa6bc0fb6636785a0701
tree9621d55daf59f1f8f4918052273d40de58f2a75f
parentf968cabcb1cd0c253fa25850970e5376f9eef065
ARM: OMAP3: Fix omap3_l3_block_irq warning when CONFIG_BUG is not set

Otherwise we will get:

arch/arm/mach-omap2/omap_l3_smx.c: In function ‘omap3_l3_block_irq’:
arch/arm/mach-omap2/omap_l3_smx.c:156: warning: unused variable ‘address’
arch/arm/mach-omap2/omap_l3_smx.c:155: warning: unused variable ‘multi’
arch/arm/mach-omap2/omap_l3_smx.c:154: warning: unused variable ‘initid’
arch/arm/mach-omap2/omap_l3_smx.c:153: warning: unused variable ‘code’
arch/arm/mach-omap2/omap_l3_smx.c: At top level:
arch/arm/mach-omap2/omap_l3_smx.c:68: warning: ‘omap3_l3_code_string’ defined but not used
arch/arm/mach-omap2/omap_l3_smx.c:90: warning: ‘omap3_l3_initiator_string’ defined but not used

Fix it by always showing the L3 error.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_l3_smx.c