--- zzzz-none-000/linux-3.10.107/drivers/char/agp/alpha-agp.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/char/agp/alpha-agp.c 2021-02-04 17:41:59.000000000 +0000 @@ -174,7 +174,7 @@ /* * Build a fake pci_dev struct */ - pdev = alloc_pci_dev(); + pdev = pci_alloc_dev(NULL); if (!pdev) return -ENOMEM; pdev->vendor = 0xffff;