Skip to content

Commit

Permalink
BACKPORT: drivers/perf: arm_pmu: fix function type mismatch
Browse files Browse the repository at this point in the history
Bug: 67506682
Change-Id: I06dc3fbef96c06cbfc8619cd2d0f7aa0fa7d99d9
Signed-off-by: Sami Tolvanen <[email protected]>
(cherry picked from commit 0f98f46d9920a1aad7d10916eac4b83dbccabf42)
Signed-off-by: Dan Aloni <[email protected]>
Signed-off-by: Davide Garberi <[email protected]>
  • Loading branch information
samitolvanen authored and chrmhoffmann committed Nov 15, 2022
1 parent 791110e commit 4e522fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/perf/arm_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ int arm_pmu_device_probe(struct platform_device *pdev,
const struct pmu_probe_info *probe_table)
{
const struct of_device_id *of_id;
const int (*init_fn)(struct arm_pmu *);
int (*init_fn)(struct arm_pmu *);
struct device_node *node = pdev->dev.of_node;
struct arm_pmu *pmu;
int ret = -ENODEV;
Expand Down

0 comments on commit 4e522fc

Please sign in to comment.