]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Sync with mainline: More tabify, use CONFIG_PM_DEBUG for gpio debug
authorTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2006 20:02:43 +0000 (12:02 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2006 20:02:43 +0000 (12:02 -0800)
More tabify, use CONFIG_PM_DEBUG for gpio debug

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/bootreason.c
arch/arm/plat-omap/clock.c

index cb3e67ae682dab0a2e8060f5fe8d75902d688783..253dfcf1ecc211b3e476d1f07819bd99907bd85c 100644 (file)
@@ -34,7 +34,7 @@
 static char boot_reason[16];
 
 static int omap_bootreason_read_proc(char *page, char **start, off_t off,
-                                    int count, int *eof, void *data)
+                                        int count, int *eof, void *data)
 {
        int len = 0;
 
@@ -54,7 +54,7 @@ static int __init bootreason_init(void)
 {
        const struct omap_boot_reason_config *cfg;
        int reason_valid = 0;
-       
+
        cfg = omap_get_config(OMAP_TAG_BOOT_REASON, struct omap_boot_reason_config);
        if (cfg != NULL) {
                strncpy(boot_reason, cfg->reason_str, sizeof(cfg->reason_str));
@@ -70,7 +70,7 @@ static int __init bootreason_init(void)
        printk(KERN_INFO "Bootup reason: %s\n", boot_reason);
 
        if (!create_proc_read_entry("bootreason", S_IRUGO, NULL,
-                                   omap_bootreason_read_proc, NULL))
+                                       omap_bootreason_read_proc, NULL))
                return -ENOMEM;
 
        return 0;
index 9bfcf7ec475b9166cb80b3eb6c30c25c217a4f14..a463fa2f7d375667b463b2adf8fbbc14c95d8b67 100644 (file)
@@ -395,7 +395,7 @@ int __init clk_init(struct clk_functions * custom_clocks)
        return 0;
 }
 
-#ifdef CONFIG_PROC_FS
+#if defined(CONFIG_PM_DEBUG) && defined(CONFIG_PROC_FS)
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 
@@ -454,5 +454,5 @@ int __init omap_ck_init(void)
 
 }
 __initcall(omap_ck_init);
-#endif /* CONFIG_DEBUG_PROC_FS */
+#endif