Skip to contentSkip to conversation

Constant spelling

PATCH New Knut Petersen 1 participant 1 message Dec 10, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Constant spelling

Obviously constants should be spelled correctly. Follow-up to fbdev-fixing-switch-to-kd_text-enhanced-version.patch

drivers/video/console/fbcon.c +1 -1
diff -uprN -X linux/Documentation/dontdiff -x '*.bak' -x '*.ctx' linuxorig/drivers/video/console/fbcon.c linuxtmp/drivers/video/console/fbcon.c
@@ -2104,7 +2104,7 @@ static int fbcon_switch(struct vc_data *
 	ops->var = info->var;
 
 	if (old_info != NULL && (old_info != info ||
-				 info->flags & FBINFO_MISC_ALLWAYS_SETPAR)) {
+				 info->flags & FBINFO_MISC_ALWAYS_SETPAR)) {
 		if (info->fbops->fb_set_par)
 			info->fbops->fb_set_par(info);
 		fbcon_del_cursor_timer(old_info);
include/linux/fb.h +1 -1
diff -uprN -X linux/Documentation/dontdiff -x '*.bak' -x '*.ctx' linuxorig/include/linux/fb.h linuxtmp/include/linux/fb.h
@@ -735,7 +735,7 @@ struct fb_tile_ops {
  * code whenever there is a bug report related to switching between X and the
  * framebuffer console.
  */
-#define FBINFO_MISC_ALLWAYS_SETPAR   0x40000
+#define FBINFO_MISC_ALWAYS_SETPAR   0x40000
 
 
 struct fb_info {

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click