aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGrzegorz Szymaszek <[email protected]>2022-08-05 18:27:41 +0200
committerGreg Kroah-Hartman <[email protected]>2022-08-16 15:24:00 +0200
commitd987294a7e95160d1f322d23f07c8ed48aa8b05a (patch)
treeebb70dc99008e3852db312aee80f525ae62793e0 /tools/perf/scripts/python/stackcollapse.py
parent816ca75992ae1cd92a0b884037968b057ef3b682 (diff)
staging: r8188eu: set firmware path in a macro
The r8188eu driver requires a firmware file, the path of which was hardcoded as constant strings in two places: (1) in core/rtw_fw.c, in function load_firmware(), (2) in os_dep/os_intfs.c, in the MODULE_FIRMWARE() call. Declare the path using a macro, FW_RTL8188EU, and replace the above constant strings with the macro. That's the way it is done in many other drivers. The new macro is defined in include/drv_types.h, because that file is already included by both of the above files (or at least their headers) and because it already contains other driver constants, like its name and version. Link: https://lore.kernel.org/lkml/[email protected]/ Suggested-by: Greg Kroah-Hartman <[email protected]> Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Signed-off-by: Grzegorz Szymaszek <[email protected]> Link: https://lore.kernel.org/r/60dc57fc73e8e6e8e3aaae68784f4be932547bf5.1659715931.git.gszymaszek@short.pl Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions