Commit 074e6fd1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

staging: fbtft: fix allyesconfig build

There are two functions call reset() so the allyesconfig breaks.  Let's
make this one static.
Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Tested-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b3c986d3
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment