greybus: arche-platform: make apb_state common to both platform drivers
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Fri, 12 Feb 2016 20:34:02 +0000 (02:04 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 13 Feb 2016 07:01:32 +0000 (23:01 -0800)
commita821adb47d28e22f96716b0ab8c4a8d5f7d3dadb
tree5a603f73bd9191bbc3e9025d5c643d0dc71f8cdb
parent397d34152423d2ddbff3e48495ef988cbb07776b
greybus: arche-platform: make apb_state common to both platform drivers

Make 'enum apb_state' common to both platform drivers, so that
both drivers can make use of same state and user will have
unified control configuration across devices (SVC, APB1 and APB2)

Testing Done: Tested on EVT1.2 and DB3.5 platform.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c
drivers/staging/greybus/arche_platform.h