summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-04-11 10:39:45 +0200
committerWill Deacon <will.deacon@arm.com>2017-04-11 17:29:53 +0200
commit083c52144a19c69b7956aa53c913ba621f7c5ae2 (patch)
tree4ac19de3eb832f5758f2999f351430d3ebcee6a5 /drivers/dax
parentdrivers/perf: arm_pmu: remove pointless PMU disabling (diff)
downloadlinux-083c52144a19c69b7956aa53c913ba621f7c5ae2.tar.xz
linux-083c52144a19c69b7956aa53c913ba621f7c5ae2.zip
drivers/perf: arm_pmu: define armpmu_init_fn
We expect an ARM PMU's init function to have a particular prototype, which we open-code in a few places. This is less than ideal, considering that we cast a void value to this type in one location, and a mismatch could easily be missed. Add a typedef so that we can ensure this is consistent. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Jeremy Linton <jeremy.linton@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions