aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sstfb.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-28 05:15:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:42 -0400
commit5ae121705bed9ea7425daef4d7d29038f7312f3f (patch)
treefa1527459b056ad59acfbf1fa59c5a8880f6ac22 /drivers/video/sstfb.c
parente7a05aa9e697ff6fc165d45671cdcca601942f62 (diff)
video: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Antonino A. Daplas <adaplas@gmail.com> Cc: Antonino Daplas <adaplas@pol.net> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Jean Delvare <khali@linux-fr.org> Cc: Adrian Bunk <bunk@stusta.de> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sstfb.c')
-rw-r--r--drivers/video/sstfb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/sstfb.c b/drivers/video/sstfb.c
index 97784f9c184d..5b11a00f49bc 100644
--- a/drivers/video/sstfb.c
+++ b/drivers/video/sstfb.c
@@ -1006,7 +1006,7 @@ static int sst_set_pll_att_ti(struct fb_info *info,
1006 break; 1006 break;
1007 default: 1007 default:
1008 dprintk("%s: wrong clock code '%d'\n", 1008 dprintk("%s: wrong clock code '%d'\n",
1009 __FUNCTION__, clock); 1009 __func__, clock);
1010 return 0; 1010 return 0;
1011 } 1011 }
1012 udelay(300); 1012 udelay(300);
@@ -1048,7 +1048,7 @@ static int sst_set_pll_ics(struct fb_info *info,
1048 break; 1048 break;
1049 default: 1049 default:
1050 dprintk("%s: wrong clock code '%d'\n", 1050 dprintk("%s: wrong clock code '%d'\n",
1051 __FUNCTION__, clock); 1051 __func__, clock);
1052 return 0; 1052 return 0;
1053 } 1053 }
1054 udelay(300); 1054 udelay(300);
@@ -1079,7 +1079,7 @@ static void sst_set_vidmod_att_ti(struct fb_info *info, const int bpp)
1079 sst_dac_write(DACREG_RMR, (cr0 & 0x0f) | DACREG_CR0_16BPP); 1079 sst_dac_write(DACREG_RMR, (cr0 & 0x0f) | DACREG_CR0_16BPP);
1080 break; 1080 break;
1081 default: 1081 default:
1082 dprintk("%s: bad depth '%u'\n", __FUNCTION__, bpp); 1082 dprintk("%s: bad depth '%u'\n", __func__, bpp);
1083 break; 1083 break;
1084 } 1084 }
1085} 1085}
@@ -1093,7 +1093,7 @@ static void sst_set_vidmod_ics(struct fb_info *info, const int bpp)
1093 sst_dac_write(DACREG_ICS_CMD, DACREG_ICS_CMD_16BPP); 1093 sst_dac_write(DACREG_ICS_CMD, DACREG_ICS_CMD_16BPP);
1094 break; 1094 break;
1095 default: 1095 default:
1096 dprintk("%s: bad depth '%u'\n", __FUNCTION__, bpp); 1096 dprintk("%s: bad depth '%u'\n", __func__, bpp);
1097 break; 1097 break;
1098 } 1098 }
1099} 1099}
@@ -1133,7 +1133,7 @@ static int __devinit sst_detect_dactype(struct fb_info *info, struct sstfb_par *
1133 } 1133 }
1134 if (!ret) 1134 if (!ret)
1135 return 0; 1135 return 0;
1136 f_dprintk("%s found %s\n", __FUNCTION__, dacs[i].name); 1136 f_dprintk("%s found %s\n", __func__, dacs[i].name);
1137 par->dac_sw = dacs[i]; 1137 par->dac_sw = dacs[i];
1138 return 1; 1138 return 1;
1139} 1139}