Skip to content

Commit 92d7ec1

Browse files
Hans Ulli Krolljacek-anaszewski
authored andcommitted
leds: Fix wrong dmi_match on PC Engines APU LEDs
BIOS on APU board doesn't expose board_name property, and thus we have to rely on the product_name instead. Signed-off-by: Hans Ulli Kroll <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
1 parent d1ed7c5 commit 92d7ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/leds/leds-apu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static int __init apu_led_probe(struct platform_device *pdev)
223223

224224
apu_led->pdev = pdev;
225225

226-
if (dmi_match(DMI_BOARD_NAME, "APU")) {
226+
if (dmi_match(DMI_PRODUCT_NAME, "APU")) {
227227
apu_led->profile = apu1_led_profile;
228228
apu_led->platform = APU1_LED_PLATFORM;
229229
apu_led->num_led_instances = ARRAY_SIZE(apu1_led_profile);

0 commit comments

Comments
 (0)