diff options
author | Anton Blanchard <anton@samba.org> | 2013-08-07 02:01:25 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-14 11:50:25 +1000 |
commit | 0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a (patch) | |
tree | f48f58fbb09f2e8563f2f53e80b5b5848f54f35d /arch/powerpc/kernel/pci_64.c | |
parent | b0d436c739b0d4afcdfe2e97d4d1ee41ea2db62e (diff) | |
download | linux-0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a.tar.gz linux-0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a.tar.bz2 linux-0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a.zip |
powerpc/pci: Don't use bitfield for force_32bit_msi
Fix a sparse warning about force_32bit_msi being a one bit bitfield.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index cdf5aa1411bf..a9e311f7a9dd 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c @@ -272,7 +272,7 @@ static void quirk_radeon_32bit_msi(struct pci_dev *dev) struct pci_dn *pdn = pci_get_pdn(dev); if (pdn) - pdn->force_32bit_msi = 1; + pdn->force_32bit_msi = true; } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x68f2, quirk_radeon_32bit_msi); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0xaa68, quirk_radeon_32bit_msi); |