OSDN Git Service

advansys: fix compilation errors and warnings when CONFIG_PCI is not set
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 3 Jun 2015 07:56:42 +0000 (09:56 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 13 Jun 2015 15:42:36 +0000 (08:42 -0700)
commit8810eac83624ab1ad593c59da43e187179f5941e
tree71bb8b59af648611679e0cbca5f23de7fd39f172
parent2865c073257eaf1ede043a4dbc77afc71b6de175
advansys: fix compilation errors and warnings when CONFIG_PCI is not set

Fix compilation errors on forgotten #include <linux/dmapool.h> and warnings when
CONFIG_PCI is not set.

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/advansys.c