Re: [PATCH] backlight control for Frontpath ProGear HX1050+

From: Alan
Date: Fri Jan 05 2007 - 04:29:19 EST



> +struct pci_dev *pmu_dev = NULL;
> +struct pci_dev *sb_dev = NULL;

static ?

> + pmu_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, 0);

pci_find_device is going away, please use pci_get_device and the get/put
functions to refcount it. This makes the system hotplug safe.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/