b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org,
	Stefano Brivio <stefano.brivio@polimi.it>
Subject: [PATCH] b43: use pci_is_pcie() instead of obsolete pci_dev.is_pcie
Date: Wed, 09 May 2012 08:51:12 +0900	[thread overview]
Message-ID: <4FA9B170.2000704@jp.fujitsu.com> (raw)
In-Reply-To: <20120508232732.19543.37241.stgit@bhelgaas.mtv.corp.google.com>

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

Regards,
Kenji Kaneshige


(2012/05/09 8:27), Bjorn Helgaas wrote:
> Use pci_is_pcie() instead of looking at obsolete is_pcie field in
> struct pci_dev.
> 
> CC: Stefano Brivio<stefano.brivio@polimi.it>
> CC: b43-dev at lists.infradead.org
> CC: Kenji Kaneshige<kaneshige.kenji@jp.fujitsu.com>
> Signed-off-by: Bjorn Helgaas<bhelgaas@google.com>
> ---
>   drivers/net/wireless/b43/dma.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c
> index b5f1b91..777cd74 100644
> --- a/drivers/net/wireless/b43/dma.c
> +++ b/drivers/net/wireless/b43/dma.c
> @@ -1109,7 +1109,7 @@ static bool b43_dma_translation_in_low_word(struct b43_wldev *dev,
>   #ifdef CONFIG_B43_SSB
>   	if (dev->dev->bus_type == B43_BUS_SSB&&
>   	dev->dev->sdev->bus->bustype == SSB_BUSTYPE_PCI&&
> -	    !(dev->dev->sdev->bus->host_pci->is_pcie&&
> +	    !(pci_is_pcie(dev->dev->sdev->bus->host_pci)&&
>   	ssb_read32(dev->dev->sdev, SSB_TMSHIGH)&  SSB_TMSHIGH_DMA64))
>   			return 1;
>   #endif
> 
> 

      reply	other threads:[~2012-05-08 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 23:27 [PATCH] b43: use pci_is_pcie() instead of obsolete pci_dev.is_pcie Bjorn Helgaas
2012-05-08 23:51 ` Kenji Kaneshige [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA9B170.2000704@jp.fujitsu.com \
    --to=kaneshige.kenji@jp.fujitsu.com \
    --cc=b43-dev@lists.infradead.org \
    --cc=bhelgaas@google.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stefano.brivio@polimi.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).