cpufreq: OMAP: fix build errors: depends on ARCH_OMAP2PLUS
commit2d59dcfb54ade45cacc59a6e7bd96b8c19088c3d
authorKevin Hilman <khilman@ti.com>
Fri, 13 Apr 2012 20:32:30 +0000 (13 13:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Apr 2012 00:57:40 +0000 (13 17:57 -0700)
tree7bd97d8bf2e59560ebfc21fbdaf69767e2173365
parent7d93101fc71ec47c7cc66ac99f76ef795c5207aa
cpufreq: OMAP: fix build errors: depends on ARCH_OMAP2PLUS

The OMAP driver needs a 'depends on ARCH_OMAP2PLUS' since it only
builds for OMAP2+ platforms.

This 'depends on' was in the original patch from Russell King, but was
erroneously removed by me when making this option user-selectable in
commit b09db45c (cpufreq: OMAP driver depends CPUfreq tables.)  This
patch remedies that.

Apologies to Russell King for breaking his originally working patch.

Also, thanks to Grazvydas Ignotas for reporting the same problem.

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/cpufreq/Kconfig.arm