summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-09-27 21:33:53 -0600
committerJens Axboe <axboe@kernel.dk>2011-09-27 21:33:53 -0600
commitf0bd90beb81eb164c364f13a958e7e84bc765da6 (patch)
treed1189403835ddbfc7849d3af932cc7903dd6d9e2
parenta2fb44cd0d1e0912d67f6f0b09ff522035922775 (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>
-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,