I have been learning the different methods of creating custom device drivers and whilst developing an out-of-tree device driver I found two methods of including source files (see below).
Does anyone know the pro's and con's of each method? So far the only difference I have found is with option 2 you can wildcard the directory.