aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2019-04-13 11:12:52 -0400
committerVinod Koul <[email protected]>2019-04-14 15:52:50 +0530
commit4abbd783d126cabfc20d1b8d50b1d5026b5cba09 (patch)
treef26d3f1c12d6a21f0a3f04e2917544d0335a2b1c /scripts/gcc-plugins/gcc-common.h
parenta25eab299165927a4e187bc40f20b549152779d9 (diff)
soundwire: intel: fix implicit header use of module.h/export.h
These two files are implicitly relying on an instance of including module.h from <linux/acpi.h>. Ideally, header files under include/linux shouldn't be adding includes of other headers, in anticipation of their consumers, but just the headers needed for the header itself to pass parsing with CPP. The module.h is particularly bad in this sense, as it itself does include a whole bunch of other headers, due to the complexity of module support. Here, we make those includes explicit, in order to allow a future removal of module.h from linux/acpi.h without causing build breakage. Cc: Vinod Koul <[email protected]> Cc: Sanyog Kale <[email protected]> Cc: Pierre-Louis Bossart <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions