aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMichal Wilczynski <[email protected]>2025-07-02 13:45:29 +0000
committerUwe Kleine-König <[email protected]>2025-07-07 06:39:36 +0000
commitedd3bcb1801e1bb98f4f81485140e18c86406ced (patch)
tree840f0fe4e42b85d175f131c24e43443b5b8de120 /tools/perf/scripts/python/net_dropmonitor.py
parentdt-bindings: pwm: Convert lpc32xx-pwm.txt to yaml format (diff)
downloadkernel-edd3bcb1801e1bb98f4f81485140e18c86406ced.tar.gz
kernel-edd3bcb1801e1bb98f4f81485140e18c86406ced.zip
pwm: Expose PWM_WFHWSIZE in public header
The WFHWSIZE constant defines the maximum size for the hardware-specific waveform representation buffer. It is currently local to drivers/pwm/core.c, which makes it inaccessible to external tools like bindgen. Move the constant to include/linux/pwm.h to make it part of the public API. As part of this change, rename it to PWM_WFHWSIZE to follow standard kernel conventions for namespacing macros in public headers. This allows bindgen to automatically generate a corresponding constant for the Rust PWM abstractions, ensuring the value remains synchronized between the C core and Rust code and preventing future maintenance issues. Signed-off-by: Michal Wilczynski <[email protected]> Link: https://lore.kernel.org/r/20250702-rust-next-pwm-working-fan-for-sending-v7-1-67ef39ff1d29@samsung.com Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions