Messages in this thread | | | Date | Wed, 17 Jan 2007 10:09:08 +0059 | From | Jiri Slaby <> | Subject | Re: patch pci-rework-documentation-pci.txt.patch added to gregkh-2.6 tree |
| |
gregkh@suse.de wrote: [...] > +Tips on when/where to use the above attributes: > + o The module_init()/module_exit() functions (and all > + initialization functions called _only_ from these) > + should be marked __init/__exit. > + > + o Do not mark the struct pci_driver. > + > + o The ID table array should be marked __devinitdata.
Is that correct? It panics somewehere IIRC?
thanks, -- http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |