]> asedeno.scripts.mit.edu Git - linux.git/commit
switchtec: Make struct event_regs static
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Oct 2017 10:01:45 +0000 (11:01 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Oct 2017 21:08:34 +0000 (16:08 -0500)
commitf05f7355de3e66438619c97c612d63cc8a1be125
treefcdd2e7885e178b0a240a30bd20076a71f7ba06e
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
switchtec: Make struct event_regs static

The structure event_regs is local to the source and does not need to be in
global scope, so make it static.

Cleans up sparse warning:

  symbol 'event_regs' was not declared. Should it be static

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
drivers/pci/switch/switchtec.c