diff options
| author | Uwe Kleine-König <[email protected]> | 2025-02-17 10:25:02 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2025-02-28 22:56:07 +0000 |
| commit | 4b31eb55dbc64d72ff57a1888f8e4d7996a693bc (patch) | |
| tree | 23fb1c584dc4fcd04d9555831911314618de0ab9 /drivers/pwm/pwm-stmpe.c | |
| parent | dt-bindings: pwm: rockchip: Add rockchip,rk3562-pwm (diff) | |
| download | kernel-4b31eb55dbc64d72ff57a1888f8e4d7996a693bc.tar.gz kernel-4b31eb55dbc64d72ff57a1888f8e4d7996a693bc.zip | |
pwm: Check for CONFIG_PWM using IS_REACHABLE() in main header
Preparing CONFIG_PWM becoming tristate the right magic to check for the
availability of the pwm functions is using IS_REACHABLE() and not
IS_ENABLED(). The latter gives the wrong result for built-in code with
CONFIG_PWM=m.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stmpe.c')
0 files changed, 0 insertions, 0 deletions
