the bulk of the probe code can stay in the library. Maybe something like this in a personality module:
static struct pci_driver drm_driver = { .name = DRIVER_NAME, .id_table = DRM(pciidlist), .probe = my_probe, .remove = __devexit_p(drm_cleanup_pci), }; my_probe() { do my preinit stuff drm_probe() - library routine do my postinit stuff } Now you don't need pre and post init call outs. If the driver doesn't have any pre/post init code just set .probe = drm_probe ===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel