From patchwork Thu Jun 18 16:12:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 6639121 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5DAECC0020 for ; Thu, 18 Jun 2015 16:13:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D169207D1 for ; Thu, 18 Jun 2015 16:13:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7EDAD203E1 for ; Thu, 18 Jun 2015 16:13:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756297AbbFRQNG (ORCPT ); Thu, 18 Jun 2015 12:13:06 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:38368 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756239AbbFRQMy (ORCPT ); Thu, 18 Jun 2015 12:12:54 -0400 Received: by igblz2 with SMTP id lz2so63167929igb.1 for ; Thu, 18 Jun 2015 09:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=ec2HtDqB6nOT7dIMKPL3iZcUWOtW7JzAzvNJLpJ01KU=; b=fVxrtZV16nxua8ZBRsWdWJLcMqJFmtrBU3y8Y1DJ0YZyDbyLS11N4w4HDKQqrWyOuj hTF111UE4nWqISjqwz9OH8TZkGzoVLLS/zKGdnswN5NErL2AxuDYSKcMsAUBMGYRkjil VlvOUYbEmYrkSidyOJ6ycC7E5yGsutj2RcU11HqxBXZ7k7oo0A0CyLMS7Y8T35hhTe8Y S8KLsRAYjmYhqwoeK0fjpcjK5GOeFktAjVQ6e/rvjWr++GF7Owx5c/9LafBAis1gFqBz XDVAwnJ7QBfJVZVxYxCBbLPQpm/RdhBccxiukKuXVLlrc3qtZzgAtnpwDS+bMbpMurXu z7Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=ec2HtDqB6nOT7dIMKPL3iZcUWOtW7JzAzvNJLpJ01KU=; b=Zh0m2eoJDYez2Seo3PftY0C5If5XHFK/cCxbHECMtLnzFhdVu5dR/0VQwBkJHEx5wj LYyvDUUtZkjAHasunCzdupJxEnH6rWG2jEF4/uq285PG/56VUDcH7zq/763lqxRugQcL VzigwsvWxh4+VBzG5zEIlJ9JC8A/jVEMzQQ/3OpEsONUhTsSp+9yzm9TTqUX2BB3UMAb Q1a54+waFHfi0SDNyRLuSGTr8wO8LSfhgSL5Db4G+Ak/3uHJ9T+NbpVyx4weHbLKsisc yD1o1brZ8mSZTf/9uEzD4KMQQ3QKBmYGvfkhW0HPV4f31JgFcHPL/G8bDEpXYZLAd8h7 q9Gg== X-Gm-Message-State: ALoCoQmu+vMeAMEDqepVGAzE1S0MPAmrjDaZSCd77cikS42VZARrMErtGpxUKqJjXmGHDFTcub1T X-Received: by 10.107.134.214 with SMTP id q83mr2260145ioi.91.1434643973587; Thu, 18 Jun 2015 09:12:53 -0700 (PDT) Received: from localhost ([69.71.1.1]) by mx.google.com with ESMTPSA id kl8sm5788892igb.15.2015.06.18.09.12.52 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Jun 2015 09:12:52 -0700 (PDT) Subject: [PATCH 3/4] PCI: pciehp: Rename queue_interrupt_event() to pciehp_queue_interrupt_event() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: Rajat Jain , Yinghai Lu , linux-kernel@vger.kernel.org Date: Thu, 18 Jun 2015 11:12:51 -0500 Message-ID: <20150618161251.32739.37707.stgit@bhelgaas-glaptop2.roam.corp.google.com> In-Reply-To: <20150618161207.32739.62577.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20150618161207.32739.62577.stgit@bhelgaas-glaptop2.roam.corp.google.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Rename queue_interrupt_event() to pciehp_queue_interrupt_event() so we can make it extern and call it from pcie_isr(). No functional change. Signed-off-by: Bjorn Helgaas Reviewed-by: Rajat Jain --- drivers/pci/hotplug/pciehp_ctrl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c index 1086041..7ed37dc 100644 --- a/drivers/pci/hotplug/pciehp_ctrl.c +++ b/drivers/pci/hotplug/pciehp_ctrl.c @@ -37,7 +37,7 @@ static void interrupt_event_handler(struct work_struct *work); -static void queue_interrupt_event(struct slot *p_slot, u32 event_type) +static void pciehp_queue_interrupt_event(struct slot *p_slot, u32 event_type) { struct event_info *info; @@ -64,7 +64,7 @@ u8 pciehp_handle_attention_button(struct slot *p_slot) ctrl_info(ctrl, "Button pressed on Slot(%s)\n", slot_name(p_slot)); event_type = INT_BUTTON_PRESS; - queue_interrupt_event(p_slot, event_type); + pciehp_queue_interrupt_event(p_slot, event_type); return 0; } @@ -90,7 +90,7 @@ u8 pciehp_handle_switch_change(struct slot *p_slot) event_type = INT_SWITCH_CLOSE; } - queue_interrupt_event(p_slot, event_type); + pciehp_queue_interrupt_event(p_slot, event_type); return 1; } @@ -120,7 +120,7 @@ u8 pciehp_handle_presence_change(struct slot *p_slot) event_type = INT_PRESENCE_OFF; } - queue_interrupt_event(p_slot, event_type); + pciehp_queue_interrupt_event(p_slot, event_type); return 1; } @@ -133,7 +133,7 @@ u8 pciehp_handle_power_fault(struct slot *p_slot) ctrl_err(ctrl, "Power fault on slot %s\n", slot_name(p_slot)); event_type = INT_POWER_FAULT; ctrl_info(ctrl, "Power fault bit %x set\n", 0); - queue_interrupt_event(p_slot, event_type); + pciehp_queue_interrupt_event(p_slot, event_type); return 1; } @@ -153,7 +153,7 @@ void pciehp_handle_linkstate_change(struct slot *p_slot) event_type = INT_LINK_DOWN; } - queue_interrupt_event(p_slot, event_type); + pciehp_queue_interrupt_event(p_slot, event_type); } /* The following routines constitute the bulk of the