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:
Dan Carpenter 2015-01-23 17:20:25 +03:00 committed by Greg Kroah-Hartman
parent b3c986d3c1
commit 074e6fd133
1 changed files with 1 additions and 1 deletions
drivers/staging/fbtft

View File

@ -89,7 +89,7 @@ static int init_display(struct fbtft_par *par)
return 0; return 0;
} }
void reset(struct fbtft_par *par) static void reset(struct fbtft_par *par)
{ {
if (par->gpio.reset == -1) if (par->gpio.reset == -1)
return; return;