summaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-09-27 21:33:53 -0600
committerJens Axboe <axboe@kernel.dk>2011-11-05 08:35:10 +0100
commit3ff147d3a88e43135b1861d964496101657fa9a2 (patch)
tree058dd207c094fb7e0bad1b7bc3fb1d8fc812d6cd /drivers/block/mtip32xx
parent6316668fbcf8a0a166830e7e84cdbdf0ab9392c8 (diff)
downloadblackbird-op-linux-3ff147d3a88e43135b1861d964496101657fa9a2.tar.gz
blackbird-op-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/mtip32xx')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.c4
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,
OpenPOWER on IntegriCloud