From patchwork Tue Aug 12 12:15:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 4719091 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9E672C0338 for ; Wed, 13 Aug 2014 13:13:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 995322015E for ; Wed, 13 Aug 2014 13:13:46 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 329932013A for ; Wed, 13 Aug 2014 13:13:44 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 299042655B8; Wed, 13 Aug 2014 15:13:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id C07C126087E; Wed, 13 Aug 2014 15:13:30 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9C08F2650E7; Tue, 12 Aug 2014 14:16:32 +0200 (CEST) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by alsa0.perex.cz (Postfix) with ESMTP id 688A626500B for ; Tue, 12 Aug 2014 14:16:24 +0200 (CEST) Received: by mail-pd0-f175.google.com with SMTP id r10so12573136pdi.34 for ; Tue, 12 Aug 2014 05:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Bl2Ey2OmIUZloV9xQ4TTXhf13g6lnI/bzitt8OWj1gs=; b=KYqCc8/SSd2fi9pGaUSldZOuIHwVS1TgBpzQW9w7agr3HipElyCfJyLmFdZ+E0bznT kHSckZuYO9u7+wnu31pRnHIml4CH5Hu9lLu9eXv/y+uv7epCu5I2yzK81IUfGal+nnTg m8q9A877ml/mNvjftYCJ4CnOd2xZifodxdB81gr8ZUZjkeNOblP7HFqq6+xghT1b+iRC gamFDpwk+rTzc/KWh6q2vugLBfd9XqbvFA08VyBxQ8Xj2mI2Zml5rAIGCuMnp07xqLIe 4a1Dd+Si5qrnLmWCeZokDz7eF3+3Td6vXmzl0NnW555rVe0smlY9uLJwG1WtzImhbImO VSFg== X-Received: by 10.66.149.102 with SMTP id tz6mr3922412pab.76.1407845781415; Tue, 12 Aug 2014 05:16:21 -0700 (PDT) Received: from localhost.localdomain ([122.169.171.149]) by mx.google.com with ESMTPSA id za9sm12504997pac.25.2014.08.12.05.16.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 05:16:20 -0700 (PDT) From: Sudip Mukherjee To: perex@perex.cz, tiwai@suse.de Date: Tue, 12 Aug 2014 17:45:40 +0530 Message-Id: <1407845740-3524-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 X-Mailman-Approved-At: Wed, 13 Aug 2014 15:13:29 +0200 Cc: alsa-devel@alsa-project.org, Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] sound: pci: es1968: use pci_device_id X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Uses the struct pci_device_id instead of the depreciated macro DEFINE_PCI_DEVICE_TABLE. Signed-off-by: Sudip Mukherjee --- sound/pci/es1968.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index 5bb1cf6..a9956a7 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c @@ -570,7 +570,7 @@ struct es1968 { static irqreturn_t snd_es1968_interrupt(int irq, void *dev_id); -static DEFINE_PCI_DEVICE_TABLE(snd_es1968_ids) = { +static const struct pci_device_id snd_es1968_ids[] = { /* Maestro 1 */ { 0x1285, 0x0100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_MULTIMEDIA_AUDIO << 8, 0xffff00, TYPE_MAESTRO }, /* Maestro 2 */