tools/lguest: Fix redefinition of struct virtio_pci_cfg_cap
commite523caa601f4a7c2fa1ecd040db921baf7453798
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 26 Aug 2015 01:12:26 +0000 (26 10:42 +0930)
committerIngo Molnar <mingo@kernel.org>
Wed, 26 Aug 2015 04:12:35 +0000 (26 06:12 +0200)
tree81ecc162cf52f91696e5a8a4ec5921c371ecff8b
parenta782a7e46bb50822fabfeb7271605762a59c86df
tools/lguest: Fix redefinition of struct virtio_pci_cfg_cap

Ours uses a u32 for the data, since we ensure it's always
aligned and it's x86 so it doesn't matter anyway.

  lguest.c:128:8: error: redefinition of ‘struct virtio_pci_cfg_cap’

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Fixes: 3121bb023e2db ("virtio: define virtio_pci_cfg_cap in header.")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lguest/lguest.c