Fix checkpatch warning:
WARNING: Prefer struct pci_device_id over deprecated DEFINE_PCI_DEVICE_TABLE

Cc: Jens Axboe <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
 drivers/block/skd_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index 1756d26d..3142eef 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -4772,7 +4772,7 @@ static const struct block_device_operations 
skd_blockdev_ops = {
  *****************************************************************************
  */
 
-static DEFINE_PCI_DEVICE_TABLE(skd_pci_tbl) = {
+static const struct pci_device_id skd_pci_tbl[] = {
        { PCI_VENDOR_ID_STEC, PCI_DEVICE_ID_S1120,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
        { 0 }                     /* terminate list */
-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to