]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[libata sata_sil24] nit pickings
authorTejun Heo <htejun@gmail.com>
Sun, 9 Oct 2005 13:31:33 +0000 (09:31 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 9 Oct 2005 13:31:33 +0000 (09:31 -0400)
This patch removes unused NR_PORTS macro and adds termination entry
to sil24_pci_tbl.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/sata_sil24.c

index 693330bdc821a5bb9f11cba0516666b73e669949..dffa13c84639c9e8b10fccd73e6762773be0ccc4 100644 (file)
@@ -43,8 +43,6 @@
 #define DRV_NAME       "sata_sil24"
 #define DRV_VERSION    "0.22"  /* Silicon Image's preview driver was 0.10 */
 
-#define NR_PORTS       4
-
 /*
  * Port request block (PRB) 32 bytes
  */
@@ -244,6 +242,7 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 static struct pci_device_id sil24_pci_tbl[] = {
        { 0x1095, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 },
        { 0x1095, 0x3132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3132 },
+       { } /* terminate list */
 };
 
 static struct pci_driver sil24_pci_driver = {