]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:56:40 +0000 (14:56 +0200)
commit31ce31128c02c895294d044f2a0a9b793e9d6db7
tree07c5ffac590f6337a7dd5ca8d66af095fb956083
parent9a22a2a3f38c72ccc7f6736ae70c539a7c216efc
agp: uninorth: make two functions static

BugLink: http://bugs.launchpad.net/bugs/1794889
[ Upstream commit dec60f3a9b7251f2657d743d96ba9a83dca02351 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/char/agp/uninorth-agp.c