bus: arm-ccn: Allocate event when it is being added, not initialised
authorPawel Moll <pawel.moll@arm.com>
Fri, 17 Apr 2015 11:37:36 +0000 (12:37 +0100)
committerPawel Moll <pawel.moll@arm.com>
Fri, 1 May 2015 16:51:05 +0000 (17:51 +0100)
commit57006d3e6f62def53c01ae3ffc338caebd866e89
treef8e689aac5fd0058a32019878ef3e279dfceaa1a
parent9ce1aa869e69cff8db1369e6849af9bd555b4f1d
bus: arm-ccn: Allocate event when it is being added, not initialised

To make events rotation possible, they should be allocated when event
is being ->added(), not during initialisation. This patch moves the
respective code.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
drivers/bus/arm-ccn.c