[commit] r2425 - trunk/linux-2.6.x/arch/arm/mach-nds/arm7

dslinux_sonny_jim at dslinux.in-berlin.de dslinux_sonny_jim at dslinux.in-berlin.de
Thu Jul 2 01:43:13 CEST 2009


Author: dslinux_sonny_jim
Date: Thu Jul  2 01:43:12 2009
New Revision: 2425

Log:
Rename function to make more sense

Modified:
   trunk/linux-2.6.x/arch/arm/mach-nds/arm7/main.c

Modified: trunk/linux-2.6.x/arch/arm/mach-nds/arm7/main.c
==============================================================================
--- trunk/linux-2.6.x/arch/arm/mach-nds/arm7/main.c	(original)
+++ trunk/linux-2.6.x/arch/arm/mach-nds/arm7/main.c	Thu Jul  2 01:43:12 2009
@@ -18,7 +18,7 @@
 
 static struct nds_firmware_block *firmware_block;
 
-int isDSLite(void)
+int isDSPhat(void)
 {
 	return !((power_read(POWER_BACKLIGHT)) & (1<<6));
 }
@@ -59,7 +59,7 @@
 			cmddata = FIFO_POWER_GET_DATA(data);
 			switch (cmd) {
 			case FIFO_POWER_CMD_BACKLIGHT_BRIGHTNESS:
-					if (isDSLite()) 
+					if (isDSPhat()) 
 						break;
 					switch (cmddata) {
 					case 0:


More information about the dslinux-commit mailing list