aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2020-12-08 09:37:46 +0800
committerKalle Valo <[email protected]>2020-12-08 09:34:35 +0200
commit91aeaf09a6eed83cae0d0fad20a97699b1c8b812 (patch)
treed02004115ee6ad692eb77c41ed49a17519354ce8 /tools/perf/scripts/python/syscall-counts.py
parent5c455c5ab332773464d02ba17015acdca198f03d (diff)
rtw88: fix multiple definition of rtw_pm_ops
'const struct dev_pm_ops rtw_pm_ops' is declared by pci.c, and it should be declare as 'extern' in pci.h. Without 'extern' causes every file including pci.h has an individual instance of rtw_pm_ops but not reference to the one declared in pci.c If kernel config, like test robot, doesn't build driver as module, it leads multiple definition. Reported-by: kernel test robot <[email protected]> Fixes: 2e86ef413ab3 ("rtw88: pci: Add prototypes for .probe, .remove and .shutdown") Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions