]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP: don't build hwspinlock in vain
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 6 Mar 2012 00:11:02 +0000 (16:11 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 00:11:02 +0000 (16:11 -0800)
commitbe89cd9db41d7e39e8bebc71aee86938ee675f9c
treee820ee054f53c1d7b63138f1011ed3a9a8e576d1
parent7db74d5e327197289f2eb83c13f8d1b565a21467
ARM: OMAP: don't build hwspinlock in vain

Cleanup: don't build mach-omap2/hwspinlock.c if the OMAP hwspinlock
driver isn't configured.

This will both shorten build time and avoid registering a device
which isn't needed.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile