• Christoph Hellwig's avatar
    [PATCH] move all host templates into .c files · f6842023
    Christoph Hellwig authored
    Oookay - I really got upset by that tmeplates in headers crap when
    grepping for certain methods.  The patch below moves all templates
    from the headers into the actual implementation files and removes
    the ifdef mess for unmaintained drivers - for maintained support
    gazillion kernel releases drivers like gdth I've kept them.
    
    This means a driver works fine without any problems for all modular
    builds and builtin kernel >= 2.4.0.  If you want certain drivers
    to work with 2.0/2.2 statyic builds too I can hack something up for
    you, but I'd prefer not supporting stuff like that anymore.
    
    Tested by compiling all drivers with make -k and not getting more
    warnings than before :)
    f6842023
gdth.c 202 KB