Commit 92d7ec1d authored by Hans Ulli Kroll's avatar Hans Ulli Kroll Committed by Jacek Anaszewski

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: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent d1ed7c55
...@@ -223,7 +223,7 @@ static int __init apu_led_probe(struct platform_device *pdev) ...@@ -223,7 +223,7 @@ static int __init apu_led_probe(struct platform_device *pdev)
apu_led->pdev = pdev; apu_led->pdev = pdev;
if (dmi_match(DMI_BOARD_NAME, "APU")) { if (dmi_match(DMI_PRODUCT_NAME, "APU")) {
apu_led->profile = apu1_led_profile; apu_led->profile = apu1_led_profile;
apu_led->platform = APU1_LED_PLATFORM; apu_led->platform = APU1_LED_PLATFORM;
apu_led->num_led_instances = ARRAY_SIZE(apu1_led_profile); apu_led->num_led_instances = ARRAY_SIZE(apu1_led_profile);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment