Skip to content

Commit

Permalink
Fix incompatible pointer type.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius authored and pastaq committed Jul 29, 2024
1 parent e1e6a8a commit 4c73720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ayaneo-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ static int ayaneo_platform_probe(struct platform_device *pdev)
if (ret)
return ret;

ret = devm_device_add_group(ayaneo_led_mc.led_cdev.dev, ayaneo_led_mc_groups);
ret = devm_device_add_group(ayaneo_led_mc.led_cdev.dev, *ayaneo_led_mc_groups);
return ret;
}

Expand Down

0 comments on commit 4c73720

Please sign in to comment.