]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
mtip32xx: mark a few more items static
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Sep 2011 03:33:53 +0000 (21:33 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Nov 2011 07:35:10 +0000 (08:35 +0100)
Missed two items: mtip_major, and mtip_pci_driver.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c

index 40d840e56256f20b010553f87827702800aa598f..b426a939c3799e0233f2b507a94b4605914e110f 100644 (file)
@@ -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,