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 коммит произвёл Greg Kroah-Hartman
Родитель b3c986d3c1
Коммит 074e6fd133
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;