summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/mux.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-07-05 17:31:40 +0400
committerTony Lindgren <tony@atomide.com>2010-07-05 17:31:40 +0400
commitc9d8230e316abb6a480f6bda85edf859896e9ab6 (patch)
tree0af70508306cfb3d4fc9711034203810488cf41d /arch/arm/plat-omap/mux.c
parentf99bf16d70d8a33e5274e429f2b1d71457d06a06 (diff)
downloadlinux-c9d8230e316abb6a480f6bda85edf859896e9ab6.tar.xz
omap: mux: Remove old mux code
All mach-omap2 omaps should now use the new mux code. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/mux.c')
-rw-r--r--arch/arm/plat-omap/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/mux.c b/arch/arm/plat-omap/mux.c
index 06703635ace1..0d4aa0d5876c 100644
--- a/arch/arm/plat-omap/mux.c
+++ b/arch/arm/plat-omap/mux.c
@@ -54,7 +54,7 @@ int __init_or_module omap_cfg_reg(const unsigned long index)
{
struct pin_config *reg;
- if (cpu_is_omap34xx() || cpu_is_omap44xx()) {
+ if (!cpu_class_is_omap1()) {
printk(KERN_ERR "mux: Broken omap_cfg_reg(%lu) entry\n",
index);
WARN_ON(1);