|
@@ -60,7 +60,6 @@
|
|
|
|
|
|
#define to_mmdc_pmu(p) container_of(p, struct mmdc_pmu, pmu)
|
|
#define to_mmdc_pmu(p) container_of(p, struct mmdc_pmu, pmu)
|
|
|
|
|
|
-static enum cpuhp_state cpuhp_mmdc_state;
|
|
|
|
static int ddr_type;
|
|
static int ddr_type;
|
|
|
|
|
|
struct fsl_mmdc_devtype_data {
|
|
struct fsl_mmdc_devtype_data {
|
|
@@ -82,6 +81,7 @@ static const struct of_device_id imx_mmdc_dt_ids[] = {
|
|
|
|
|
|
#ifdef CONFIG_PERF_EVENTS
|
|
#ifdef CONFIG_PERF_EVENTS
|
|
|
|
|
|
|
|
+static enum cpuhp_state cpuhp_mmdc_state;
|
|
static DEFINE_IDA(mmdc_ida);
|
|
static DEFINE_IDA(mmdc_ida);
|
|
|
|
|
|
PMU_EVENT_ATTR_STRING(total-cycles, mmdc_pmu_total_cycles, "event=0x00")
|
|
PMU_EVENT_ATTR_STRING(total-cycles, mmdc_pmu_total_cycles, "event=0x00")
|