[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1403032383-4995-1-git-send-email-fabf@skynet.be>
Date: Tue, 17 Jun 2014 21:13:03 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: Fabian Frederick <fabf@...net.be>, Jens Axboe <axboe@...com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Subject: [PATCH 3/3] drivers/block/skd_main.c: replace deprecated DEFINE_PCI_DEVICE_TABLE
Fix checkpatch warning:
WARNING: Prefer struct pci_device_id over deprecated DEFINE_PCI_DEVICE_TABLE
Cc: Jens Axboe <axboe@...com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists