We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c45d3 commit 7e51d05Copy full SHA for 7e51d05
drivers/perf/arm_cspmu/arm_cspmu.c
@@ -1213,13 +1213,20 @@ static int arm_cspmu_device_remove(struct platform_device *pdev)
1213
return 0;
1214
}
1215
1216
+static const struct platform_device_id arm_cspmu_id[] = {
1217
+ {DRVNAME, 0},
1218
+ { },
1219
+};
1220
+MODULE_DEVICE_TABLE(platform, arm_cspmu_id);
1221
+
1222
static struct platform_driver arm_cspmu_driver = {
1223
.driver = {
1224
.name = DRVNAME,
1225
.suppress_bind_attrs = true,
1226
},
1227
.probe = arm_cspmu_device_probe,
1228
.remove = arm_cspmu_device_remove,
1229
+ .id_table = arm_cspmu_id,
1230
};
1231
1232
static void arm_cspmu_set_active_cpu(int cpu, struct arm_cspmu *cspmu)
0 commit comments