From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755016AbdBGQv2 (ORCPT ); Tue, 7 Feb 2017 11:51:28 -0500 Received: from mail-yw0-f193.google.com ([209.85.161.193]:35637 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752836AbdBGQv1 (ORCPT ); Tue, 7 Feb 2017 11:51:27 -0500 Date: Tue, 7 Feb 2017 11:51:19 -0500 From: William Breathitt Gray To: Linus Walleij , Alexandre Courbot Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpio: pci-idio-16: Fix PCI device ID code Message-ID: <20170207165119.GA13838@sophia> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ACCES PCI-IDIO-16 has a PCI device ID code of 0x0DC8. It is incorrect to use the PCI device ID code of the ACCES PCI-IIRO-8 (0x0F00). This patch fixes the said PCI device ID code mismatch. Fixes: 02e74fc0401a ("gpio: Add GPIO support for the ACCES PCI-IDIO-16") Signed-off-by: William Breathitt Gray --- drivers/gpio/gpio-pci-idio-16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-pci-idio-16.c b/drivers/gpio/gpio-pci-idio-16.c index 0220787240ce..b10f3cf7044a 100644 --- a/drivers/gpio/gpio-pci-idio-16.c +++ b/drivers/gpio/gpio-pci-idio-16.c @@ -331,7 +331,7 @@ static int idio_16_probe(struct pci_dev *pdev, const struct pci_device_id *id) } static const struct pci_device_id idio_16_pci_dev_id[] = { - { PCI_DEVICE(0x494F, 0x0F00) }, { 0 } + { PCI_DEVICE(0x494F, 0x0DC8) }, { 0 } }; MODULE_DEVICE_TABLE(pci, idio_16_pci_dev_id); -- 2.11.1