Name

vga_switcheroo_client_probe_defer — whether to defer probing a given client

Synopsis

bool vga_switcheroo_client_probe_defer (struct pci_dev * pdev);
 

Arguments

pdev

client pci device

Description

Determine whether any prerequisites are not fulfilled to probe a given client. Drivers shall invoke this early on in their ->probe callback and return -EPROBE_DEFER if it evaluates to true. Thou shalt not register the client ere thou hast called this.

Return

true if probing should be deferred, otherwise false.