Skip to content
Commit 99109301 authored by Sergio Luis's avatar Sergio Luis Committed by James Bottomley
Browse files

[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: default avatarSergio Luis <sergio@larces.uece.br>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 61c92814
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment