From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DCB6C3A5A7 for ; Sun, 4 Dec 2022 12:32:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7EF7785286; Sun, 4 Dec 2022 13:31:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="B6s0hNyE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5CCFB8528C; Sun, 4 Dec 2022 13:31:58 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 43C7785073 for ; Sun, 4 Dec 2022 13:31:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BC442B8069E for ; Sun, 4 Dec 2022 12:31:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E69CC433C1 for ; Sun, 4 Dec 2022 12:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670157114; bh=HemVzgXabn0z2/FCK797Mikqm/eOyyrs7iUtlRWvPEA=; h=From:To:Subject:Date:From; b=B6s0hNyEr7Y2+JcIIzQGtnoAboZIjbxkvJSqHXTSnNxWeYlRetRdt1kp8PYbY08lK ZT3kIsFF1eeSH3EUub54jgTu/8/b7RCwFbSfdT4t6FrYz7RinvBTD+fSrjeHyf5p8Y kd+5vn/rWLc4hTk8yu+fliVsMBpz3kmioJWuksy8Srs7Dc6RnLlsYJ0iy2sAJcV+8Z KY9IWaqdXLybtUkUr5JzIEY5VmeWO2XFDTQr9B/ff0Z05mb35s78CUBprr4iJSsgOy ru/w6z/vvZbXXJAXRsDmx0w0d0dLlaZgSHtx/qbyNEGIQq/3Xv3rHmOOPBzejr6xyA seqzx9MK3vxgQ== Received: by pali.im (Postfix) id 78205895; Sun, 4 Dec 2022 13:31:51 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: u-boot@lists.denx.de Subject: [PATCH] ata: ahci-pci: Replace magic constant by macro Date: Sun, 4 Dec 2022 13:31:08 +0100 Message-Id: <20221204123108.29170-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Replace 0x1b21 by macro PCI_VENDOR_ID_ASMEDIA with the same value. Signed-off-by: Pali Rohár --- drivers/ata/ahci-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c index 797e0d570e88..5356b9d83d34 100644 --- a/drivers/ata/ahci-pci.c +++ b/drivers/ata/ahci-pci.c @@ -37,7 +37,7 @@ U_BOOT_DRIVER(ahci_pci) = { static struct pci_device_id ahci_pci_supported[] = { { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_SATA_AHCI, ~0) }, - { PCI_DEVICE(0x1b21, 0x0611) }, + { PCI_DEVICE(PCI_VENDOR_ID_ASMEDIA, 0x0611) }, { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6121) }, { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x6145) }, {}, -- 2.20.1