aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/emu.c')
-rw-r--r--arch/arm/mach-omap2/emu.c3
1 files changed, 3 insertions, 0 deletions
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 = {
56 56
57static int __init emu_init(void) 57static int __init emu_init(void)
58{ 58{
59 if (!cpu_is_omap34xx())
60 return -ENODEV;
61
59 amba_device_register(&omap3_etb_device, &iomem_resource); 62 amba_device_register(&omap3_etb_device, &iomem_resource);
60 amba_device_register(&omap3_etm_device, &iomem_resource); 63 amba_device_register(&omap3_etm_device, &iomem_resource);
61 64