Title: [3978] trunk/drivers/char/bfin_pflags.c: [#3747] Fix config option name
Revision
3978
Author
hennerich
Date
2007-12-04 05:16:35 -0600 (Tue, 04 Dec 2007)

Log Message

[#3747] Fix config option name

Diffstat

 bfin_pflags.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Modified Paths

Diff

Modified: trunk/drivers/char/bfin_pflags.c (3977 => 3978)


--- trunk/drivers/char/bfin_pflags.c	2007-12-04 07:39:14 UTC (rev 3977)
+++ trunk/drivers/char/bfin_pflags.c	2007-12-04 11:16:35 UTC (rev 3978)
@@ -68,7 +68,7 @@
 #include <asm/uaccess.h>
 #include <asm/blackfin.h>
 #include <asm/gpio.h>
-#if defined(CONFIG_BF533_PFLAGS_PROC)
+#if defined(CONFIG_BF5xx_PFLAGS_PROC)
 #include <linux/proc_fs.h>
 #endif
 #include <linux/spinlock.h>
@@ -293,7 +293,7 @@
 	return p - buf;
 }
 
-#if defined(CONFIG_BF533_PFLAGS_PROC)
+#if defined(CONFIG_BF5xx_PFLAGS_PROC)
 /*
  *  Info exported via "/proc/driver/pflags".
  *  For backward compatibility only.
@@ -418,7 +418,7 @@
 	}
         major = res;
 
-#if defined(CONFIG_BF533_PFLAGS_PROC)
+#if defined(CONFIG_BF5xx_PFLAGS_PROC)
 	if(!create_proc_read_entry("driver/pflags", 0, 0, pflags_read_proc, NULL)) {
 		printk(KERN_INFO "pflag: can't create proc entry!\n");
 		goto release_chrdev;
@@ -437,7 +437,7 @@
 
 	return 0;
 release_proc:
-#if defined(CONFIG_BF533_PFLAGS_PROC)
+#if defined(CONFIG_BF5xx_PFLAGS_PROC)
 	remove_proc_entry("driver/pflags", NULL);
 release_chrdev:
 #endif
@@ -448,7 +448,7 @@
 
 void __exit blackfin_pflags_exit(void)
 {
-#if defined(CONFIG_BF533_PFLAGS_PROC)
+#if defined(CONFIG_BF5xx_PFLAGS_PROC)
 	remove_proc_entry("driver/pflags", NULL);
 #endif
 	unregister_chrdev(major, "pflag");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to