]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/oprofile/common.c
[ARM] 3330/1: S3C24XX - move UPLL to main clock
[linux-2.6-omap-h63xx.git] / arch / arm / oprofile / common.c
index 1415930ceee1a0908d32d540fb8867a1975cdedc..6f8bc1f0e6a11a9eae95968f7356ed5a2b895a78 100644 (file)
@@ -137,8 +137,9 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
        if (spec) {
                init_MUTEX(&op_arm_sem);
 
-               if (spec->init() < 0)
-                       return -ENODEV;
+               ret = spec->init();
+               if (ret < 0)
+                       return ret;
 
                op_arm_model = spec;
                init_driverfs();