Re-jig to implement comedi attach_pci() hook, get rid of a few dodgy macros, remove forward function declarations, replace printk() with dev_...(), and remove a bunch of #ifdef's. drivers/staging/comedi/drivers/amplc_dio200.c | 504 ++++++++++++------------- 1 files changed, 233 insertions(+), 271 deletions(-) [PATCH 1/7] Use IS_ENABLED() [PATCH 2/7] Use module_comedi_{pci,}_driver [PATCH 3/7] Remove forward function declarations [PATCH 4/7] Replace printk calls [PATCH 5/7] Change return type of dio200_find_pci() [PATCH 6/7] Remove thisboard, thislayout and devpriv macros [PATCH 7/7] Add attach_pci() hook _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel