sata_mv: Fix warnings when no PCI
authorAndrew Lunn <andrew@lunn.ch>
Fri, 28 Sep 2012 15:04:10 +0000 (17:04 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 2 Oct 2012 02:53:23 +0000 (22:53 -0400)
Dove can be configured without PCI. We then get a number of warnings:

warning: 'msi' defined but not used
warning: 'mv5_sht' defined but not used
warning: 'mv_dump_pci_cfg' defined but not used.

Move around variables and add #ifdef as necassary to fix the warnings.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found