diff options
| author | Andy Shevchenko <[email protected]> | 2024-04-10 17:11:35 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-04-11 14:08:40 +0200 |
| commit | 25ca2d573ebae939d19f5df5fef2c58ef83ed97a (patch) | |
| tree | 6cb7dd0891bfbdb0f31a883b042a705eb7310702 /tools/perf/scripts/python | |
| parent | 46f2bba8314fdd818cc7408126919cb6421b4e19 (diff) | |
serial: max3100: Convert to_max3100_port() to be static inline
As Jiri rightfully pointed out the current to_max3100_port() macro
implementation is fragile in a sense that it expects the variable
name to be port, otherwise it blow up the build.
Change this to be static inline to prevent bad compilation.
Suggested-by: Jiri Slaby <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions