diff options
| author | Andrew Lunn <[email protected]> | 2023-04-17 17:17:26 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-04-19 12:59:15 +0100 |
| commit | e5029edd53937a29801ef507cee12e657ff31ea9 (patch) | |
| tree | 7e85e1ec8d61e351a8429c5404c9513890645004 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 91acadcc6e599dfc62717abcdad58a459cfb1684 (diff) | |
leds: Provide stubs for when CLASS_LED & NEW_LEDS are disabled
Provide stubs for devm_led_classdev_register_ext() and
led_init_default_state_get() so that LED drivers embedded within other
drivers such as PHYs and Ethernet switches still build when LEDS_CLASS
or NEW_LEDS are disabled. This also helps with Kconfig dependencies,
which are somewhat hairy for phylib and mdio and only get worse when
adding a dependency on LED_CLASS.
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions