On 2012-09-07 11:04 AM, Luis R. Rodriguez wrote: > On Fri, Sep 7, 2012 at 12:56 AM, Felix Fietkau <nbd@xxxxxxxxxxx> wrote: >> When calling pci_find_capability and pci_read_config_word, struct pci_dev >> needs to be passed without const. > > Thanks! I guess because at certain kernel version pci_dev was const ? Probably, I didn't really check. Either way, this patch should be safe for all kernel versions. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html