Commit 3ff147d3 authored by Jens Axboe's avatar Jens Axboe

mtip32xx: mark a few more items static

Missed two items: mtip_major, and mtip_pci_driver.
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6316668f
...@@ -80,7 +80,7 @@ static int instance; ...@@ -80,7 +80,7 @@ static int instance;
* Global variable used to hold the major block device number * Global variable used to hold the major block device number
* allocated in mtip_init(). * allocated in mtip_init().
*/ */
int mtip_major; static int mtip_major;
static DEFINE_SPINLOCK(rssd_index_lock); static DEFINE_SPINLOCK(rssd_index_lock);
static DEFINE_IDA(rssd_index_ida); static DEFINE_IDA(rssd_index_ida);
...@@ -3502,7 +3502,7 @@ static DEFINE_PCI_DEVICE_TABLE(mtip_pci_tbl) = { ...@@ -3502,7 +3502,7 @@ static DEFINE_PCI_DEVICE_TABLE(mtip_pci_tbl) = {
}; };
/* Structure that describes the PCI driver functions. */ /* Structure that describes the PCI driver functions. */
struct pci_driver mtip_pci_driver = { static struct pci_driver mtip_pci_driver = {
.name = MTIP_DRV_NAME, .name = MTIP_DRV_NAME,
.id_table = mtip_pci_tbl, .id_table = mtip_pci_tbl,
.probe = mtip_pci_probe, .probe = mtip_pci_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment