diff options
author | Jens Axboe <axboe@kernel.dk> | 2011-09-27 23:33:53 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-11-05 03:35:10 -0400 |
commit | 3ff147d3a88e43135b1861d964496101657fa9a2 (patch) | |
tree | 058dd207c094fb7e0bad1b7bc3fb1d8fc812d6cd /drivers/block/mtip32xx | |
parent | 6316668fbcf8a0a166830e7e84cdbdf0ab9392c8 (diff) |
mtip32xx: mark a few more items static
Missed two items: mtip_major, and mtip_pci_driver.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 40d840e56256..b426a939c379 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c | |||
@@ -80,7 +80,7 @@ static int instance; | |||
80 | * Global variable used to hold the major block device number | 80 | * Global variable used to hold the major block device number |
81 | * allocated in mtip_init(). | 81 | * allocated in mtip_init(). |
82 | */ | 82 | */ |
83 | int mtip_major; | 83 | static int mtip_major; |
84 | 84 | ||
85 | static DEFINE_SPINLOCK(rssd_index_lock); | 85 | static DEFINE_SPINLOCK(rssd_index_lock); |
86 | static DEFINE_IDA(rssd_index_ida); | 86 | static DEFINE_IDA(rssd_index_ida); |
@@ -3502,7 +3502,7 @@ static DEFINE_PCI_DEVICE_TABLE(mtip_pci_tbl) = { | |||
3502 | }; | 3502 | }; |
3503 | 3503 | ||
3504 | /* Structure that describes the PCI driver functions. */ | 3504 | /* Structure that describes the PCI driver functions. */ |
3505 | struct pci_driver mtip_pci_driver = { | 3505 | static struct pci_driver mtip_pci_driver = { |
3506 | .name = MTIP_DRV_NAME, | 3506 | .name = MTIP_DRV_NAME, |
3507 | .id_table = mtip_pci_tbl, | 3507 | .id_table = mtip_pci_tbl, |
3508 | .probe = mtip_pci_probe, | 3508 | .probe = mtip_pci_probe, |