drivers: cci: Export CCI PMU revision
authorPunit Agrawal <punit.agrawal@arm.com>
Wed, 19 Feb 2014 12:17:03 +0000 (12:17 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 25 Feb 2014 18:36:17 +0000 (19:36 +0100)
commitdc4409c0062d7e40fe523abc06310281ba666369
tree0b714814e0ec7a60a5fd2c3c2f764f08c4a87487
parent6fb0c4a74239416b572f088a827d5ff783902380
drivers: cci: Export CCI PMU revision

The event numbering changed between revision r0 and r1 of the CCI
PMU. Expose this to userspace to allow tooling to handle the
differences in event numbers.

Suggested-by: Drew Richardson <Drew.Richardson@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/bus/arm-cci.c