]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-omap2/omap_hwmod.c
Merged EDMA branch from git://github.com/ohporter/linux.git
[karo-tx-linux.git] / arch / arm / mach-omap2 / omap_hwmod.c
index ede9d495a9e2c625d434e1b0e4c686ed1ec6ca1e..3a6a91e8fa81ccd782993182ed6b5c4983ed51c8 100644 (file)
  * appropriate
  */
 #undef DEBUG
+#define DEBUG
 
 #include <linux/kernel.h>
 #include <linux/errno.h>
@@ -3945,7 +3946,7 @@ int omap_hwmod_for_each_by_class(const char *classname,
                                 void *user)
 {
        struct omap_hwmod *temp_oh;
-       int ret = 0;
+       int ret = -ENOENT;
 
        if (!classname || !fn)
                return -EINVAL;