Skip to content

Commit

Permalink
mtip32xx: mark a few more items static
Browse files Browse the repository at this point in the history
Missed two items: mtip_major, and mtip_pci_driver.

Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 5, 2011
1 parent 6316668 commit 3ff147d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/mtip32xx/mtip32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3ff147d

Please sign in to comment.