]> asedeno.scripts.mit.edu Git - linux.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)
commitdec60f3a9b7251f2657d743d96ba9a83dca02351
tree4bb94543919f494e5455d154f97e9b69b1206564
parent75bc37fefc4471e718ba8e651aa74673d4e0a9eb
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