diff mbox

PCI: Update outdated comment for pcibios_bus_report_status

Message ID 1392292663-61468-1-git-send-email-wangyijing@huawei.com
State Accepted
Headers show

Commit Message

Yijing Wang Feb. 13, 2014, 11:57 a.m. UTC
pci_find_device() has been superseded by pci_get_device().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 arch/arm/kernel/bios32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Bjorn Helgaas Feb. 14, 2014, 6:22 p.m. UTC | #1
On Thu, Feb 13, 2014 at 07:57:43PM +0800, Yijing Wang wrote:
> pci_find_device() has been superseded by pci_get_device().
> 
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>

Applied to my pci/misc branch for v3.15, thanks!

> ---
>  arch/arm/kernel/bios32.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
> index 317da88..588ec19 100644
> --- a/arch/arm/kernel/bios32.c
> +++ b/arch/arm/kernel/bios32.c
> @@ -19,7 +19,7 @@
>  static int debug_pci;
>  
>  /*
> - * We can't use pci_find_device() here since we are
> + * We can't use pci_get_device() here since we are
>   * called from interrupt context.
>   */
>  static void pcibios_bus_report_status(struct pci_bus *bus, u_int status_mask, int warn)
> -- 
> 1.7.1
> 
> 
--
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 mbox

Patch

diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
index 317da88..588ec19 100644
--- a/arch/arm/kernel/bios32.c
+++ b/arch/arm/kernel/bios32.c
@@ -19,7 +19,7 @@ 
 static int debug_pci;
 
 /*
- * We can't use pci_find_device() here since we are
+ * We can't use pci_get_device() here since we are
  * called from interrupt context.
  */
 static void pcibios_bus_report_status(struct pci_bus *bus, u_int status_mask, int warn)