aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-10-15 17:11:12 +0200
committerGreg Kroah-Hartman <[email protected]>2022-10-20 17:41:42 +0200
commit5ecf2bb6b1f9659e79e99465c327bb97234bfdaf (patch)
tree92bdc701ff06f2e8d22edc092c012e1179e6f68b /tools/perf/scripts/python/export-to-sqlite.py
parent4fc4de550eb0fb47514ee0f37f9a0abd4d4bf2c9 (diff)
staging: r8188eu: don't include rtw_led.h from rtw_cmd.h
The rtw_cmd.h does not need any definitions from the led layer, there's no reason to include rtw_led.h. When I tried to remove this component struct led_priv { struct adapter *padapter; ... I saw compiler errors because of this chain of include files: drv_types.h -> rtw_cmd.h -> rtw_led.h rtw_led.h uses struct adapter before it sees the definiton near the end of drv_types.h. (It seems that a simple struct adapter * prevents this problem.) The best option for fixing this issue is to not include rtw_led.h in rtw_cmd.h. Signed-off-by: Martin Kaiser <[email protected]> Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions