perf/arm-cci: Allow building as a module
authorRobin Murphy <robin.murphy@arm.com>
Mon, 14 May 2018 13:34:53 +0000 (14:34 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 21 May 2018 17:12:54 +0000 (18:12 +0100)
commit8b0c93c20ef78f15d8b760964ff79bda7f68c610
tree2151d7fded7c7907b9a9c5d2784a6ded6aaac7ea
parent28c01dc9d85e4cd744f254c45d3c894bca168ed6
perf/arm-cci: Allow building as a module

Fill in the few extra bits and annotations needed to make the driver
work properly as a module, and jiggle the Kconfig to expose the
driver-level ARM_CCI_PMU option.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/Kconfig
drivers/perf/arm-cci.c