X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-omap2%2Femu.c;h=9c442e290ccbf9523a03f6d00d22b6dd1ab51243;hb=772320e84588dcbe1600ffb83e5f328f2209ac2a;hp=ec0d984a26fcc5fa185ee64b3360511bb91f444a;hpb=8098a7ef8946169cf8ffeb6f4d8130fc3651192e;p=pandora-kernel.git diff --git a/arch/arm/mach-omap2/emu.c b/arch/arm/mach-omap2/emu.c index ec0d984a26fc..9c442e290ccb 100644 --- a/arch/arm/mach-omap2/emu.c +++ b/arch/arm/mach-omap2/emu.c @@ -56,6 +56,9 @@ static struct amba_device omap3_etm_device = { static int __init emu_init(void) { + if (!cpu_is_omap34xx()) + return -ENODEV; + amba_device_register(&omap3_etb_device, &iomem_resource); amba_device_register(&omap3_etm_device, &iomem_resource);