Re: [PATCH] agpgart: Reprobe VGA devices when a new GART device is added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-02-28 at 03:30 +0000, Ben Hutchings wrote:
> +static void agp_probe_video(struct work_struct *work)
> +{
> +	struct pci_dev *pdev = NULL;
> +
> +	while ((pdev = pci_get_class(0x030000, pdev)) != NULL) {

Only without the opening brace here...

Ben.

> +		if (!pdev->dev.driver && device_reprobe(&pdev->dev))
> +			pr_err(PFX "failed to reprobe %s\n", pci_name(pdev));
> +}

-- 
Ben Hutchings
Horngren's Observation:
                   Among economists, the real world is often a special case.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux