Search Linux Wireless

Re: [PATCH] b43: use pci_is_pcie() instead of obsolete pci_dev.is_pcie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Kenji Kaneshige <kaneshige.kenji@xxxxxxxxxxxxxx>

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@xxxxxxxxx>
> CC: b43-dev@xxxxxxxxxxxxxxxxxxx
> CC: Kenji Kaneshige<kaneshige.kenji@xxxxxxxxxxxxxx>
> Signed-off-by: Bjorn Helgaas<bhelgaas@xxxxxxxxxx>
> ---
>   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
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux