Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp96108ybi; Thu, 11 Jul 2019 15:27:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3ZwJE/cQ1Ddv8BJ7zYTrU01HfIyCUfN81A3I252PJzDlnmTB8XM4Mwzlhm8i9BW9RzCwf X-Received: by 2002:a17:902:8207:: with SMTP id x7mr7281155pln.63.1562884071817; Thu, 11 Jul 2019 15:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562884071; cv=none; d=google.com; s=arc-20160816; b=nozSGAoy1VMaiFypxYYC7pWwrFyEnVVYqqpvKew2nWKEtA57lXIObGvl+CNhe/bkQa oSypETwI74wkwcOUEXS1GGm4TzFFJT+jKBGZtMJE1MmK94Fv6Swr63IH5aAuosXwoytV 6LZ4HP0inXUOXQuO3qcfp9CGfz0YctMK39V1+ypZMxdZz8bxt3WIMkOV/g/tX8lwjEnH Zf7l9xW93zV4sVy5HvrKxgvRJIICvJ4LjJQ2VVHoWqs9TdEQSp6ggdCDcZwMHAWu+RXS GsZRvhQ1SvEhoG/7jTgHF3nnFQMSnKSv152+0oPzZt6bJZjsu7jlug4K7058jq6cW9CV y33Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6C8gOL/gtuVuIQHsRRX9/x6z/r3bgy+YX1I9PN/BOZU=; b=o0jmzu387UHlr4nCxjtpb+KN3XMUQqgAEw/pzJ0vF8wY4TJNGmAGhvH3m+r9rAWy7K SjKtmwTdYugVJ1vXQMT0no7SguoVDLBI1HzUBh1YYAIGmByqyYPD4IiGX+tpD5OGasqj SyA5WbD2gByVRu2XbvyOF7SmrdWow8L1egCh5Mwb8y42Cw+VnpamHS66p7LaqeSU41xi tr9U/RbzcXs3eXlUbdbzCCexmPmZw2mVsfEwt4qck8VqFI89amrSjuRQFPazlTaBsbKJ 9regEcm0M8FQXpqJaY1oeJrSBLkbE2euVlk6Zbb9IfPeb3H33gjZ/ZcioKjD4l9vi/65 uYrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GuF+xPzq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si6278872pfi.143.2019.07.11.15.27.36; Thu, 11 Jul 2019 15:27:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GuF+xPzq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729130AbfGKW0q (ORCPT + 99 others); Thu, 11 Jul 2019 18:26:46 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:37777 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728897AbfGKW0T (ORCPT ); Thu, 11 Jul 2019 18:26:19 -0400 Received: by mail-io1-f66.google.com with SMTP id q22so16168311iog.4; Thu, 11 Jul 2019 15:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6C8gOL/gtuVuIQHsRRX9/x6z/r3bgy+YX1I9PN/BOZU=; b=GuF+xPzq4LSpuE2uxDHIOBij3fhmGP9ykR+0TcJhLmXX+KMkco3hoBkcGRi0gEVzy9 ttkal8e2g3EFZGk9goaLOsJE1X+RQdtSnUwzlHSsL+W8sbgBOprbQ6E97yUodnosLEHr tNsEJ+l1Q5Fu8Jy3NKIjXhF71gtrtjSLWF+vSEQXtQVuqPvZ1ofnoK5QOnb/DBPFD/sk 6lOVyWjusnu7P4eGzsnUNTor7NKAQDtEV3eJ1Tpn6VBFzf9Zvu3k0fe6JPdSZ0q/Ak9+ Yc02ex4cwvoGhuh8rudmo5KV2YaA59srvHcGGP9BOUYPjObod5Y54ei9PnAdYrwTcfiT 9zVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6C8gOL/gtuVuIQHsRRX9/x6z/r3bgy+YX1I9PN/BOZU=; b=ul0/qEYja9tEXUyhIHuTtDjCxkwmVwiqrYSDPNUFPc43Zjp0/L+4ev0tLmR6BNGbkF b+mMnbP99I6kQJQZyi8zR81rEhNcH1uWNPurYtXboITxDLFEz4QjS2ihEjqIVAylXWMa kYknIc7orOzDNarEX7aufdyr8tGFegOlWNXdLeSO+wrH8uO8BMSUVFuc90bmTzRw7XPE nHAtfpOhcWsbgQk4sdNDYOHQKVqX+A7kqlHcocSXUDP+SBSWudKyEvFvRLtXWRf3NgBu LvFNfDDk0iekHDDgix2/4djJqfzZ7u4b8kd0ZAWjwgujoHDoSN6d6TUNMwh28gkbqmE6 0WuA== X-Gm-Message-State: APjAAAWJR7Lxb8DNSOViaw1pRlfzWN9k35BhR6u9/nTNfuBJG71ZMW73 4ig5H8L4leW073pgT3eF85vxZy3dItQc0g== X-Received: by 2002:a02:37d6:: with SMTP id r205mr7272845jar.57.1562883977615; Thu, 11 Jul 2019 15:26:17 -0700 (PDT) Received: from localhost.localdomain (c-73-243-191-173.hsd1.co.comcast.net. [73.243.191.173]) by smtp.gmail.com with ESMTPSA id s2sm4478982ioj.8.2019.07.11.15.26.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 15:26:16 -0700 (PDT) From: Kelsey Skunberg To: linux-pci@vger.kernel.org, bhelgaas@google.com, linux-kernel@vger.kernel.org Cc: skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, skunberg.kelsey@gmail.com Subject: [PATCH 05/11] PCI: Move pci_hotplug_*_size declarations to drivers/pci/pci.h Date: Thu, 11 Jul 2019 16:23:35 -0600 Message-Id: <20190711222341.111556-6-skunberg.kelsey@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190711222341.111556-1-skunberg.kelsey@gmail.com> References: <20190711222341.111556-1-skunberg.kelsey@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pci_hotplug_*_size declarations are only called within drivers/pci/pci/. Since declarations do not need to be seen by the rest of the kernel, move to drivers/pci/pci.h. Signed-off-by: Kelsey Skunberg --- drivers/pci/pci.h | 3 +++ include/linux/pci.h | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 6ba790a77be4..ee7b7383e497 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -206,6 +206,9 @@ extern const struct attribute_group *pcibus_groups[]; extern const struct device_type pci_dev_type; extern const struct attribute_group *pci_bus_groups[]; +extern unsigned long pci_hotplug_io_size; +extern unsigned long pci_hotplug_mem_size; +extern unsigned long pci_hotplug_bus_size; /** * pci_match_one_device - Tell if a PCI device structure has a matching diff --git a/include/linux/pci.h b/include/linux/pci.h index 2c5609b5782e..ead399b8d136 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1957,10 +1957,6 @@ extern unsigned long pci_cardbus_mem_size; extern u8 pci_dfl_cache_line_size; extern u8 pci_cache_line_size; -extern unsigned long pci_hotplug_io_size; -extern unsigned long pci_hotplug_mem_size; -extern unsigned long pci_hotplug_bus_size; - /* Architecture-specific versions may override these (weak) */ void pcibios_disable_device(struct pci_dev *dev); void pcibios_set_master(struct pci_dev *dev); -- 2.20.1