From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751947AbbJDUu6 (ORCPT ); Sun, 4 Oct 2015 16:50:58 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:35711 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbbJDUu4 (ORCPT ); Sun, 4 Oct 2015 16:50:56 -0400 From: Sergei Shtylyov To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, stern@rowland.harvard.edu Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/8] ehci-pci: use PCI_VDEVICE() instead of PCI_DEVICE() Date: Sun, 04 Oct 2015 23:50:53 +0300 Message-ID: <48137921.5Eq1E7haPR@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.7-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <60171155.g7UZoV0Hgv@wasted.cogentembedded.com> References: <60171155.g7UZoV0Hgv@wasted.cogentembedded.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/host/ehci-pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: usb/drivers/usb/host/ehci-pci.c =================================================================== --- usb.orig/drivers/usb/host/ehci-pci.c +++ usb/drivers/usb/host/ehci-pci.c @@ -49,9 +49,9 @@ static inline bool is_intel_quark_x1000( */ static const struct pci_device_id bypass_pci_id_table[] = { /* ChipIdea on Intel MID platform */ - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0811), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0829), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe006), }, + { PCI_VDEVICE(INTEL, 0x0811), }, + { PCI_VDEVICE(INTEL, 0x0829), }, + { PCI_VDEVICE(INTEL, 0xe006), }, {} };