diff options
author | Jens Axboe <axboe@kernel.dk> | 2011-09-28 05:33:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-11-05 08:35:10 +0100 |
commit | 3ff147d3a88e43135b1861d964496101657fa9a2 (patch) | |
tree | 058dd207c094fb7e0bad1b7bc3fb1d8fc812d6cd /drivers/block | |
parent | mtip32xx: ensure that all local functions are static (diff) | |
download | linux-3ff147d3a88e43135b1861d964496101657fa9a2.tar.xz linux-3ff147d3a88e43135b1861d964496101657fa9a2.zip |
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')
-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; * Global variable used to hold the major block device number * allocated in mtip_init(). */ -int mtip_major; +static int mtip_major; static DEFINE_SPINLOCK(rssd_index_lock); static DEFINE_IDA(rssd_index_ida); @@ -3502,7 +3502,7 @@ static DEFINE_PCI_DEVICE_TABLE(mtip_pci_tbl) = { }; /* Structure that describes the PCI driver functions. */ -struct pci_driver mtip_pci_driver = { +static struct pci_driver mtip_pci_driver = { .name = MTIP_DRV_NAME, .id_table = mtip_pci_tbl, .probe = mtip_pci_probe, |