For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way.
Showing the changes to lib/list_debug.c (1 of 63 files). Show all
Unified · Split
| @@ -6,8 +6,9 @@ · 5 unmodified lines | ||
| 6 | 6 | * DEBUG_LIST. |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | −#include <linux/module.h> | |
| 9 | +#include <linux/export.h> | |
| 10 | 10 | #include <linux/list.h> |
| 11 | +#include <linux/kernel.h> | |
| 11 | 12 | |
| 12 | 13 | /* |
| 13 | 14 | * Insert a new entry between two known consecutive entries. |