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 b740d5f commit 7ec810e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ayn-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ static int ayn_platform_probe(struct platform_device *pdev)

struct led_classdev *led_cdev = &ayn_led_mc.led_cdev;

retval = devm_device_add_group(ayn_led_mc.led_cdev.dev, ayn_led_mc_groups);
retval = devm_device_add_group(ayn_led_mc.led_cdev.dev, *ayn_led_mc_groups);
if (retval)
return retval;

Expand Down

0 comments on commit 7ec810e

Please sign in to comment.