]> git.baikalelectronics.ru Git - kernel.git/commit
agp: uninorth: make two functions static
authorMathieu Malaterre <malat@debian.org>
Sat, 5 May 2018 19:54:05 +0000 (21:54 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 10 May 2018 01:26:08 +0000 (11:26 +1000)
commitf44c2979e809e88c335985b9843576cde0963b68
tree4bb94543919f494e5455d154f97e9b69b1206564
parent168fb2339b3160ca37ba72b2279d52daad61d1d7
agp: uninorth: make two functions static

Both ‘uninorth_remove_memory’ and ‘null_cache_flush’ can be made
static. So make them.

Silence the following gcc warning (W=1):

  drivers/char/agp/uninorth-agp.c:198:5: warning: no previous prototype for ‘uninorth_remove_memory’ [-Wmissing-prototypes]

and

  drivers/char/agp/uninorth-agp.c:473:6: warning: no previous prototype for ‘null_cache_flush’ [-Wmissing-prototypes]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/uninorth-agp.c