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/div64.c (1 of 63 files). Show all
Unified · Split
| @@ -16,7 +16,8 @@ · 15 unmodified lines | |||
| 16 | * assembly versions such as arch/ppc/lib/div64.S and arch/sh/lib/div64.S. | 16 | * assembly versions such as arch/ppc/lib/div64.S and arch/sh/lib/div64.S. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #include <linux/module.h> | 19 | #include <linux/export.h> |
| 20 | #include <linux/kernel.h> | ||
| 20 | #include <linux/math64.h> | 21 | #include <linux/math64.h> |
| 21 | 22 | ||
| 22 | /* Not needed on 64bit architectures */ | 23 | /* Not needed on 64bit architectures */ |