summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2008-06-20 05:05:52 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-26 00:55:27 +0200
commit563f119080b505076429b47722fbf6374b546fa7 (patch)
treeb8029b4d5b5efe66c63e520cc9bffe6c62d1d930
parentpciehp: change command polling frequency (diff)
downloadlinux-563f119080b505076429b47722fbf6374b546fa7.tar.xz
linux-563f119080b505076429b47722fbf6374b546fa7.zip
pciehp: remove inline from command related functions
The pcie_poll_cmd() and pcie_wait_cmd() are too large to be inlined. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--drivers/pci/hotplug/pciehp_hpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c
index 5ef4baecac79..59c28093d291 100644
--- a/drivers/pci/hotplug/pciehp_hpc.c
+++ b/drivers/pci/hotplug/pciehp_hpc.c
@@ -247,7 +247,7 @@ static inline void pciehp_free_irq(struct controller *ctrl)
free_irq(ctrl->pci_dev->irq, ctrl);
}
-static inline int pcie_poll_cmd(struct controller *ctrl)
+static int pcie_poll_cmd(struct controller *ctrl)
{
u16 slot_status;
int timeout = 1000;
@@ -271,7 +271,7 @@ static inline int pcie_poll_cmd(struct controller *ctrl)
return 0; /* timeout */
}
-static inline void pcie_wait_cmd(struct controller *ctrl, int poll)
+static void pcie_wait_cmd(struct controller *ctrl, int poll)
{
unsigned int msecs = pciehp_poll_mode ? 2500 : 1000;
unsigned long timeout = msecs_to_jiffies(msecs);