]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] gdth: update deprecated pci_find_device
authorSergio Luis <sergio@larces.uece.br>
Tue, 12 Feb 2008 23:48:03 +0000 (20:48 -0300)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 13 Feb 2008 15:33:10 +0000 (09:33 -0600)
commit99109301d103fbf0de43fc5a580a406c12a501e0
tree2c3229c0ed7fcdbcbb5b9992c54b2e5fdbf88e27
parent61c92814dc324b541391757062ff02fbf3b08086
[SCSI] gdth: update deprecated pci_find_device

Fix compilation warning in gdth.c, which was using the deprecated
pci_find_device.

drivers/scsi/gdth.c:645: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:495)

Changing it to use pci_get_device, instead.

Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/Kconfig
drivers/scsi/gdth.c