summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pci-bridge.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-08-06 18:01:25 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 03:50:25 +0200
commit0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a (patch)
treef48f58fbb09f2e8563f2f53e80b5b5848f54f35d /arch/powerpc/include/asm/pci-bridge.h
parentpowerpc: Fix a number of sparse warnings (diff)
downloadlinux-0c69f9c52c474ccd1cade27c7be5f8ab830cdc3a.tar.xz
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/include/asm/pci-bridge.h')
-rw-r--r--arch/powerpc/include/asm/pci-bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/pci-bridge.h b/arch/powerpc/include/asm/pci-bridge.h
index 32d0d2018faf..4ca90a39d6d0 100644
--- a/arch/powerpc/include/asm/pci-bridge.h
+++ b/arch/powerpc/include/asm/pci-bridge.h
@@ -159,7 +159,7 @@ struct pci_dn {
int pci_ext_config_space; /* for pci devices */
- int force_32bit_msi:1;
+ bool force_32bit_msi;
struct pci_dev *pcidev; /* back-pointer to the pci device */
#ifdef CONFIG_EEH