diff options
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/devices/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c index 1b37482407f9..1b4366a0e7c0 100644 --- a/arch/arm/mach-imx/devices/devices.c +++ b/arch/arm/mach-imx/devices/devices.c | |||
@@ -37,7 +37,7 @@ int __init mxc_device_init(void) | |||
37 | int ret; | 37 | int ret; |
38 | 38 | ||
39 | ret = device_register(&mxc_aips_bus); | 39 | ret = device_register(&mxc_aips_bus); |
40 | if (IS_ERR_VALUE(ret)) | 40 | if (ret < 0) |
41 | goto done; | 41 | goto done; |
42 | 42 | ||
43 | ret = device_register(&mxc_ahb_bus); | 43 | ret = device_register(&mxc_ahb_bus); |