diff options
author | Paul Gortmaker <[email protected]> | 2016-09-12 18:16:31 -0400 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2016-09-15 14:04:42 +0200 |
commit | d47529b2e9fe0ec2eb1f072afad8849f52e385c4 (patch) | |
tree | e3a175e093454ff2aea2ded26977ff40bf8d6ddd /tools/perf/util/trace-event-scripting.c | |
parent | 39d80072222428aaf73276c6fd66185e6f622bd9 (diff) |
gpio: don't include module.h in shared driver header
Most shared headers in include/linux don't need to know what the
internals of a struct module are; all they care about is that it
is a struct and hence they may require a pointer to one.
The advantage in this is that module.h is including a lot of stuff
itself, and an otherwise empty C file that just contains module.h
will result in ~750kB from CPP (compared to say 12kB from init.h)
So we have approximately 50 instances of "struct module;" in the
various include/linux headers already that help us keep module.h
out of other headers; here we do the same for gpio.
Cc: Linus Walleij <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions