提交 074e6fd1 编写于 作者: D Dan Carpenter 提交者: 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: NJim Davis <jim.epost@gmail.com>
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Tested-by: NJim Davis <jim.epost@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册