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 ? Luis -- 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