mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
staging: sm7xx: rename function
This patch changes the name of function cfb_blank to smtc_blank. This function is not implemented like a generic function for frame buffer. Having the old prefix becomes confused when reading fb_ops structs. Tested with SM712 Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5c40fb37c7
commit
acbaa0bf05
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ static inline unsigned int chan_to_field(unsigned int chan,
|
||||||
return chan << bf->offset;
|
return chan << bf->offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cfb_blank(int blank_mode, struct fb_info *info)
|
static int smtc_blank(int blank_mode, struct fb_info *info)
|
||||||
{
|
{
|
||||||
/* clear DPMS setting */
|
/* clear DPMS setting */
|
||||||
switch (blank_mode) {
|
switch (blank_mode) {
|
||||||
|
@ -653,7 +653,7 @@ static struct fb_ops smtcfb_ops = {
|
||||||
.fb_check_var = smtc_check_var,
|
.fb_check_var = smtc_check_var,
|
||||||
.fb_set_par = smtc_set_par,
|
.fb_set_par = smtc_set_par,
|
||||||
.fb_setcolreg = smtc_setcolreg,
|
.fb_setcolreg = smtc_setcolreg,
|
||||||
.fb_blank = cfb_blank,
|
.fb_blank = smtc_blank,
|
||||||
.fb_fillrect = cfb_fillrect,
|
.fb_fillrect = cfb_fillrect,
|
||||||
.fb_imageblit = cfb_imageblit,
|
.fb_imageblit = cfb_imageblit,
|
||||||
.fb_copyarea = cfb_copyarea,
|
.fb_copyarea = cfb_copyarea,
|
||||||
|
|
Loading…
Reference in a new issue