mirror of https://gitee.com/openkylin/linux.git
staging: fbtft: fix allyesconfig build
There are two functions call reset() so the allyesconfig breaks. Let's make this one static. Reported-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Tested-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b3c986d3c1
commit
074e6fd133
|
@ -89,7 +89,7 @@ static int init_display(struct fbtft_par *par)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void reset(struct fbtft_par *par)
|
||||
static void reset(struct fbtft_par *par)
|
||||
{
|
||||
if (par->gpio.reset == -1)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue