There is no such thing as pci_find_slot anymore, instead we are supposed to use pci_get_slot. Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> --- lib.c | 4 ++-- ltdrv.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib.c b/lib.c index 1d83c88..1cf7a2d 100644 --- a/lib.c +++ b/lib.c @@ -71,10 +71,10 @@ void *lt_rs_interrupt = NULL; #define LT_DEFINE_PCI_OP(rw,size,type) \ asmlinkage \ -int lt_pcibios_##rw##_config_##size(unsigned char bus, unsigned char dev_fn, \ +int lt_pcibios_##rw##_config_##size(struct pci_bus *bus, unsigned int dev_fn, \ unsigned char where, unsigned type val) \ { \ - struct pci_dev *pcidev = pci_find_slot(bus, dev_fn); \ + struct pci_dev *pcidev = pci_get_slot(bus, dev_fn); \ if (!pcidev) \ return PCIBIOS_DEVICE_NOT_FOUND; \ return pci_##rw##_config_##size(pcidev, where, val); \ diff --git a/ltdrv.c b/ltdrv.c index 6474c06..5bc0337 100644 --- a/ltdrv.c +++ b/ltdrv.c @@ -144,8 +144,9 @@ void work_func(struct work_struct *arg) UART_background(); if (VMODEM_Timer_Active) { - /* conditional ? */ + /* conditional ? struct _ltmodem *ltdev = (struct _ltmodem *)arg; + */ serial_v8250_interrupt(ltmodem.line); } -- 1.6.5.2