Skip to content
Commit 13b74085 authored by Andrew Lunn's avatar Andrew Lunn Committed by Jeff Garzik
Browse files

sata_mv: Fix warnings when no PCI



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: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 40dad0af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment