Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp775516ybt; Fri, 19 Jun 2020 13:27:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR4XDkJxJMsY6l4sC7597IfOC4N80rTbVmK+xnK4lrhIksNABUbnoK63B2FhhKB+iB3MXt X-Received: by 2002:a05:6402:148f:: with SMTP id e15mr5285929edv.368.1592598435772; Fri, 19 Jun 2020 13:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592598435; cv=none; d=google.com; s=arc-20160816; b=RFiebJJUAuRypyu9ThJOPk6NMvRCnTUhmI5OFCtsU2m8uEVC2aivvo1WZMbr1RGaSj H1YX1bfpMrhGZ//GmURorOm/EDqWEZKZXUDlLz4V83pw7l8bZ6oHij3q51h7Q6LQmvqV k+Vev6BP2wEZC05olcKA8nySomY5ZCpsq8s5J5KDnOYhFMMn47DXwhbnO8BKqVKuhiNx QmJs1JiZ8vURSUB1y6x/G3NjBJCbW/z1hwDZn3iERqLi9KvqTrFYChke/8h5rMiK9qcZ c/4NFCyF4BuJQ36lz80bynhyCy9Eu4yAGXpKZCIlpc3tVbToueAlMS7AW4/R6KMu7BIL /FUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7kZtjtBTWijl5EoeFcuxafzRw/PZ3+6tW+RW+u5PdYI=; b=E4oPYmEOMkPeFQEGJhVKwiqp69p0qlfXIKsPfhLRb8QEmscJtmP5d1wSSV796CrZ8k eZAvmGsBMwEZ0+wjorEn13KqgdDkvhNHc0tbAOXZtJhrwEIxsE1rAgA7SC2EEhMWbuHk cOkqLEH/E3A4Kzv3eCiAhqPOZcU1PwH6UX3q4x6JvE8j7jrDzyT3G/qdsuoeZTNpidvC HMP4dmOpDxyZLOUUy/CZXblG8lwR5TFvPOGAN02VBwB8HmFBZsPGVDegoA/ubvo7467f KTOgap8ar227rlQkOovSFswTaVNjimxdKtKDiJsqv6Fc/ihUPAu51fJkhG3YXuy/oxFO mPBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=knxf76yK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i27si4247078edb.334.2020.06.19.13.26.53; Fri, 19 Jun 2020 13:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=knxf76yK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390839AbgFSPCZ (ORCPT + 99 others); Fri, 19 Jun 2020 11:02:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:58392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390753AbgFSPB4 (ORCPT ); Fri, 19 Jun 2020 11:01:56 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9672D2193E; Fri, 19 Jun 2020 15:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578916; bh=xxUjlhi8/WByqG1Pmjnz44v+8zF0P2hZJkQQenoOhaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=knxf76yKaJjCrk1DO2t3RVaAlMPVGZxn2qDSqRsFFx0hRpeBhre6WLe7oKuQhNFqY QPSr7QWqytibyR8yrFe6HbL7Aij3olGixui4YmwbpZnnjSBnAK6Wsa54wP7S9aec4x mps58hYWuiB97eJ1XBfO3WIeDSt4xVDR1A2m0F0o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Corey Minyard , Bjorn Helgaas , Sasha Levin Subject: [PATCH 4.19 205/267] pci:ipmi: Move IPMI PCI class id defines to pci_ids.h Date: Fri, 19 Jun 2020 16:33:10 +0200 Message-Id: <20200619141658.569061824@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141648.840376470@linuxfoundation.org> References: <20200619141648.840376470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corey Minyard [ Upstream commit 05c3d056086a6217a77937b7fa0df35ec75715e6 ] Signed-off-by: Corey Minyard Acked-by: Bjorn Helgaas Signed-off-by: Sasha Levin --- drivers/char/ipmi/ipmi_si_pci.c | 5 ----- include/linux/pci_ids.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/char/ipmi/ipmi_si_pci.c b/drivers/char/ipmi/ipmi_si_pci.c index 022e03634ce2..9e9700b1a8e6 100644 --- a/drivers/char/ipmi/ipmi_si_pci.c +++ b/drivers/char/ipmi/ipmi_si_pci.c @@ -18,11 +18,6 @@ module_param_named(trypci, si_trypci, bool, 0); MODULE_PARM_DESC(trypci, "Setting this to zero will disable the" " default scan of the interfaces identified via pci"); -#define PCI_CLASS_SERIAL_IPMI 0x0c07 -#define PCI_CLASS_SERIAL_IPMI_SMIC 0x0c0700 -#define PCI_CLASS_SERIAL_IPMI_KCS 0x0c0701 -#define PCI_CLASS_SERIAL_IPMI_BT 0x0c0702 - #define PCI_DEVICE_ID_HP_MMC 0x121A static void ipmi_pci_cleanup(struct si_sm_io *io) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index f4e278493f5b..861ee391dc33 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -117,6 +117,10 @@ #define PCI_CLASS_SERIAL_USB_DEVICE 0x0c03fe #define PCI_CLASS_SERIAL_FIBER 0x0c04 #define PCI_CLASS_SERIAL_SMBUS 0x0c05 +#define PCI_CLASS_SERIAL_IPMI 0x0c07 +#define PCI_CLASS_SERIAL_IPMI_SMIC 0x0c0700 +#define PCI_CLASS_SERIAL_IPMI_KCS 0x0c0701 +#define PCI_CLASS_SERIAL_IPMI_BT 0x0c0702 #define PCI_BASE_CLASS_WIRELESS 0x0d #define PCI_CLASS_WIRELESS_RF_CONTROLLER 0x0d10 -- 2.25.1